Share via


_Application.FindFile Method

Displays the Open dialog box.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function FindFile As Boolean
'Usage
Dim instance As _Application
Dim returnValue As Boolean

returnValue = instance.FindFile()
bool FindFile()

Return Value

Type: System.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.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace