Dot as doc?

H

Harmannus

Hallo,

Is have a macro with the below code in the line "RunApp"

C:\Program Files\Microsoft Office\Office10\Winword.exe
e:\documents\dbOfferte.dot

On opening Word the dot is opened instead of the doc variant. Can i add some
code to the above line so the doc file is opened?

Thanx for any tips!


Regards,

Harmannus
 
B

Bryan Reich [MSFT]

Use the following path instead:
C:\Program Files\Microsoft Office\Office10\Winword.exe
/t"e:\documents\dbOfferte.dot"
(the "/t" is the flag for the word command line that provides word with the
default template, otherwise it thinks you're giving it the document you want
to edit). For more information on the word command line switches, open word
and search for "startup switches" in the help. Hope this helps. If not, post
back.
 

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

Top