I'm having new problem with a macro that I have been using for several years. The macro allows me to import data from a prior year spreadsheet into the current version of the spreadsheet form. The problem is intermittent and only seems to occur in specific folders on my laptop.
MyFile = Application.GetOpenFilename()
If MyFile = False Then 'User clicked cancel
Exit Sub
End If
For some reason, the output is being changed from the actual directory. Any idea why the ? is appearing before the BAYCARE - ALL folder name?
Debug.Print MyFile
C:\Road Warrior\1 RSI Clients\1-F\?BAYCARE - ALL\St Joseph's Hospital North\CT\2018\St Joe N Siemens (64) 2018-10-16.xlsm
The correct path should be:
C:\Road Warrior\1 RSI Clients\1-F\BAYCARE - ALL\St Joseph's Hospital North\CT\2018\St Joe N Siemens (64) 2018-10-16.xlsm
I would appreciate any insight you might have.
Thank you
MyFile = Application.GetOpenFilename()
If MyFile = False Then 'User clicked cancel
Exit Sub
End If
For some reason, the output is being changed from the actual directory. Any idea why the ? is appearing before the BAYCARE - ALL folder name?
Debug.Print MyFile
C:\Road Warrior\1 RSI Clients\1-F\?BAYCARE - ALL\St Joseph's Hospital North\CT\2018\St Joe N Siemens (64) 2018-10-16.xlsm
The correct path should be:
C:\Road Warrior\1 RSI Clients\1-F\BAYCARE - ALL\St Joseph's Hospital North\CT\2018\St Joe N Siemens (64) 2018-10-16.xlsm
I would appreciate any insight you might have.
Thank you