Hi, does anyone have an idea regarding a possible “fix” for this error?
I appreciate any help. Thx.
...
...
the file to open is not currently open, nor is it being used by someone else--Excel VBA runtime error 1004: method ‘’ of object ‘workbooks’ failed
I appreciate any help. Thx.
...
VBA Code:
FileToOpen = Application.GetOpenFilename(Title:="Browse for the SUPPLIER File you saved & SELECT it", ButtonText:="Choose SUPPLIER Dec Sheet")
If FileToOpen <> False Then
Set OpenBook = Application.Workbooks.Open(FileToOpen)