Hi crackoo
Thanks for your reply. I like your dblequote function.
Anyway I get "The system cannot find the file specified" on line:
WshShell.Run "POWERPNT.EXT /s" &" "& DblQuote (strFileName) ,1,True
Hi everyone
The following only opens Powerpoint application and not the document.
WshShell.Run """C:\Program Files\Microsoft Office\Office12\POWERPNT.EXE""" & "/s" & strFileName,1,True
If I take out the & "/s" the document opens but in Edit mode.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.