FindFile Method

Microsoft Excel Visual Basic

FindFile Method

       

Displays the Open dialog box.

expression.FindFile

expression   Required. An expression that returns an Application object.

Remarks

This method displays the Open dialog box and allows the user to open a file. If a new file is opened successfully, this method returns True. If the user cancels the dialog box, this method returns False.

Example

This example displays the Open dialog box.

Application.FindFile