G
Guest
Hi,
I want to open an Excel spreadsheet from an Access form using Call Shell.
This is what I have so far:
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE " &
Chr(34) & "C:\Documents and Settings\worksheet 1.xls" & Chr(34)
Call Shell(stAppName, 1)
Only problem is, I want to prompt the user for the path to the spreadsheet.
The name of the spreadsheet ("worksheet 1" for this example) will stay the
same. Only the path will change. How can I do this?
I want to open an Excel spreadsheet from an Access form using Call Shell.
This is what I have so far:
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE " &
Chr(34) & "C:\Documents and Settings\worksheet 1.xls" & Chr(34)
Call Shell(stAppName, 1)
Only problem is, I want to prompt the user for the path to the spreadsheet.
The name of the spreadsheet ("worksheet 1" for this example) will stay the
same. Only the path will change. How can I do this?