I am using the following line of code to provide the brousing window to locate a file.
The program then continues on untilPHP Code:
FName = Application.GetOpenFilename("Excel Files,*.xls", 1, "Select all files", , False)
where I am getting an errorPHP Code:
Workbooks.OpenText FileName:=FName
Run time error 1004
D:\......\filename.xls could not be found.
why would this be?
Bookmarks