Dialogs Dialogs Dialogs Interface

Definition

A collection of all the Dialog objects in Microsoft Excel.

public interface class Dialogs : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020879-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Dialogs : System.Collections.IEnumerable
Public Interface Dialogs
Implements IEnumerable
Attributes
Implements

Remarks

Each Dialog object represents a built-in dialog box. You cannot create a new built-in dialog box or add one to the collection. The only useful thing you can do with a Dialog object is use it with the Show(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to display the dialog corresponding dialog box.

Use the Dialogs property to return the Dialogs collection.

Use Dialogs(index), where index is a built-in constant identifying the dialog box, to return a single Dialog object.

Microsoft Excel includes built-in constants for many of the built-in dialog boxes. Each constant is formed from the prefix "xlDialog" followed by the name of the dialog box. For example, the Apply Names dialog box constant is xlDialogApplyNames, and the Find File dialog box constant is xlDialogFindFile. These constants are members of the XlBuiltInDialog enumerated type.

Properties

_Default[XlBuiltInDialog] _Default[XlBuiltInDialog] _Default[XlBuiltInDialog]

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Count Count Count

Returns the number of objects in the collection.

Creator Creator Creator

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

Item[XlBuiltInDialog] Item[XlBuiltInDialog] Item[XlBuiltInDialog]

Returns a single object from a collection.

Parent Parent Parent

Returns the parent object for the specified object.

Methods

GetEnumerator() GetEnumerator() GetEnumerator()

Applies to