Documents.OpenFile
Method: OpenFile (strPath as String, bDialog as Boolean) as Document
Parameters
strPath
Path and file name of file to open.
bDialog
Show dialogs for user input.
Return Value
Returns the opened file on success.
Description
OpenFile opens the file strPath. If bDialog is TRUE, a file-dialog will be displayed.
Example
Dim objDoc As Document
Set objDoc = objSpy.Documents.OpenFile(strFile, False)