G
Guest
I've been able to accomplish this before but now I'm having trouble figuring
out the problem. Can you help?
I have vba code in Access that updates a spreadsheet in Excel and then saves
it to a new name. After this has been done, I use the following code:
Workbooks(1).Close False, , False
xlsApp.Quit
Set xlsApp = Nothing
Then I go to a button on a form which should open the new spreadsheet with
the Shell command like this:
RetVal = Shell(strExcelPath & " """ & strFileName & """", 1)
I get the message that the code can't find the spreadsheet (whose name is
stored in strFileName). Thanks in advance for any help you might provide.
Glenn
out the problem. Can you help?
I have vba code in Access that updates a spreadsheet in Excel and then saves
it to a new name. After this has been done, I use the following code:
Workbooks(1).Close False, , False
xlsApp.Quit
Set xlsApp = Nothing
Then I go to a button on a form which should open the new spreadsheet with
the Shell command like this:
RetVal = Shell(strExcelPath & " """ & strFileName & """", 1)
I get the message that the code can't find the spreadsheet (whose name is
stored in strFileName). Thanks in advance for any help you might provide.
Glenn