I found the following code online. It "works." However, I am having trouble opening the document it creates.
If I use document type .doc I get an error message when the document opens & trys to convert "Word cannot start the converter mswrd632.wpc" but after hitting OK 3 times, it opens.
If I used document types .docx or .docm I get an error message that says, "the file test.docx cannot be opened because there are problems with the contents." After pressing the DETAILS button, it reads "No error detail available."
It is happening because my template is a macro enabled word document.
If I create a new document and save as .doc or .docx it will open. However, if I save it as .docm then I get the get an error message that says, "the file test.docx cannot be opened because there are problems with the contents." After pressing the DETAILS button, it reads "No error detail available."
Bookmarks