I can't "write" in Visual Basic, but here is what was recorded in VB
Sub NewNotes() ' ' NewNotes Macro ' ' Documents.Add Template:="Normal.dotm", NewTemplate:=False, DocumentType:=0 End Sub
I tried editing the code to Add Template:="Notes.dot", which is the name of my template. Then I tried also changing NewTemplate:=True. I get a runtime error 4198 command failed. I don't know what DocumentType:=0 does.
Because I'm running Word 2003 in a virtual machine, I use .dot templates in 2011 instead of .dotm and I save my documents in .doc instead of .docx so I can open the docs saved in 2011 in 2003. I tried creating a Notes.dotm template and recording the macro, but when I ran the macro I got the blank template instead of Notes.dotm
Anyone know how I can edit the macro to make it open Notes.doc or Notes.docm?