WorkbookQuery Members (Excel)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

An object that represents a query that was created by Power Query.

Methods

Delete

Deletes this query and its underlying connection and removes it from the Queries collection.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Description

The description of the query. Read/write String.

Formula

The Power Query M formula for the object. Read-only String.

Name

The name of the query. Read/write String.

Parent

Returns the parent object for the specified object. Read-only.