Dear All
I have four Ms Word 2007 templates. Each one is a .dotx file (Micorosoft Word Template file).
Normally when you click on a .dotx file, you actually get a .docx file which is an instance of the .dotx template.
My problem is this:
The command I used is this
How can I prevent Word from opening the .dotx file and just open a single instance of the docx. file.
Thanks to anyone who can resolve this issue
Yours
Pakapaka
I have four Ms Word 2007 templates. Each one is a .dotx file (Micorosoft Word Template file).
Normally when you click on a .dotx file, you actually get a .docx file which is an instance of the .dotx template.
My problem is this:
- When I use File > Open the result is that Word opens the .dotx file instead of opening the .docx instance (very bad).
- When I use Shell >Execute > New the result is that Word opens the .docx instance (which is very good) but it also opens an additional .dotx file (again, very bad).
- When I use Shell >Execute > Open I get the same result as the File>Open (see above)
The command I used is this
Code:
Shell.Execute("AutoPlay\\Docs\\Letter_Template.dotx", "new", "", "", SW_SHOWNORMAL, false); --Comment: This command opens a.docx file based on the dotx. template
Thanks to anyone who can resolve this issue
Yours
Pakapaka