Announcement

Collapse
No announcement yet.

Problem with Opening Word Template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Opening Word Template

    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:
    1. When I use File > Open the result is that Word opens the .dotx file instead of opening the .docx instance (very bad).
    2. 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).
    3. 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
    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
Working...
X