Application.FindFile method (Excel)

Displays the Open dialog box.

Syntax

expression.FindFile

expression A variable that represents an Application object.

Return value

Boolean

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.