共用方式為


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

請參閱

概念

Application Object

Application Object Members