krissrites
Programmer
Hey,
I'm working on an Access 2003 db and I'm having a problem with the Shell Function. I'm using the function to open a Word document.
stAppName = "WINWORD.EXE C:\Documents and Settings\ChartrandC1\My Documents\DialogTest.doc"
Call Shell(stAppName, 1)
When this runs I get an error message - Word experienced a problem opening this file ... check that it exists ... you may not have sufficient permission ...
I know I have permission and that the file exists. If I try the same code with a word document on the C: Drive, it works fine.
Thanks in advance for you help
Chris
I'm working on an Access 2003 db and I'm having a problem with the Shell Function. I'm using the function to open a Word document.
stAppName = "WINWORD.EXE C:\Documents and Settings\ChartrandC1\My Documents\DialogTest.doc"
Call Shell(stAppName, 1)
When this runs I get an error message - Word experienced a problem opening this file ... check that it exists ... you may not have sufficient permission ...
I know I have permission and that the file exists. If I try the same code with a word document on the C: Drive, it works fine.
Thanks in advance for you help
Chris