Share via


FileDialog.Execute Method 

Runs the procedure or built-in command assigned to the specified command bar control.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim fileDialog1 As FileDialog
fileDialog1.Execute()

Syntax

Sub Execute()
void Execute();
public: Void Execute();
public void Execute();
function Execute();

Remarks

For FileDialog objects of type msoFileDialogOpen or msoFileDialogSaveAs, carries out a user's action right after the Show method is invoked.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

FileDialog Interface
Microsoft.Office.Core Namespace

Other Resources

FileDialog Members