Hi.
Any ideas where EXCEL will not open up with the shell function?
Here's my code:
dim s_file as string, retval as variant
s_file="c:\test\excel file.xls"
retval = Shell("EXCEL " & Chr(34) & s_file & Chr(34), 3)
When I run this on A2K full version or AccessXP, it works fine. On the users PC which has the A2K run-time version, nothing happens even though they have Excel 2000.
Or is there another way of opening a workbook from within access?
TIA!
Jason
Any ideas where EXCEL will not open up with the shell function?
Here's my code:
dim s_file as string, retval as variant
s_file="c:\test\excel file.xls"
retval = Shell("EXCEL " & Chr(34) & s_file & Chr(34), 3)
When I run this on A2K full version or AccessXP, it works fine. On the users PC which has the A2K run-time version, nothing happens even though they have Excel 2000.
Or is there another way of opening a workbook from within access?
TIA!
Jason