Application.Explorers Property
Outlook Developer Reference |
Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.
Syntax
expression.Explorers
expression A variable that represents an Application object.
Example
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays the number of explorer windows that are open.
Visual Basic for Applications |
---|
|
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example uses the Count property and Item method of the Selection collection returned by the Selection property to display the senders of all mail items selected in the explorer that displays the Inbox. To run this example, you need to have at least one mail item selected in the explorer displaying the Inbox. You might receive an error if you select items other than a mail item such as task request as the SenderName property does not exist for a TaskRequestItem object.
Visual Basic for Applications |
---|
|
See Also