You can use the AllQueries property to reference the AllQueries collection and its related properties. Read-only AllQueries object.
expression.AllQueries
expression Required. An expression that returns one of the objects in the Applies To list.
The AllQueries property is available only by using Visual Basic and is read-only.