Locating winword.exe for RunApp Macro

B

Bevo

I have a RunApp macro to open a word document as a mail merge (example
"c:\program files\microsoft office\office10\winword.exe" "c:\my
documents\test1.doc"). The problem I'm having is that people are running the
database at various locations, office, laptop, home or flash drive. The
macros will not work because it can't find winword.exe. For some computers
it's located in microsoft office\office or microsoft office\office10 or
microsoft office\office11. Is there a code I can add or change that will
locate winword.exe wherever it is located?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Variable RunApp 4
RunApp question 2
Using RunApp to open Word Document 0
Command line in the RunApp action 2
RunApp - where the f? 3
RunApp Path 1
Dot as doc? 1
runapp problems 2

Top