When a macro creates a document, I want it to go to the end of that document and insert a form and then run the macro that goes with the new form. I've tried:
This works, but it creates a second document. I want it to insert this second document into the first.
I've also tried:
This inserts the template, but doesn't run the attached macro.
Can anyone help me please?
Code:
Selection.GoTo what:=wdGoToBookmark, Name:="plip"
Documents.Add Template:="10-122test.dot"
This works, but it creates a second document. I want it to insert this second document into the first.
I've also tried:
Code:
Selection.InsertFile FileName:="10-122test.dot"
This inserts the template, but doesn't run the attached macro.
Can anyone help me please?