'vba word 2016 saveas document without changing module name

I suspect my strategy is incorrect as I can't seem to apply my search results for the keywords I've used over the last few days. ( https://stackoverflow.com/questions/54496552] seems to be the closest. )

I am able to populate a single document from the two forms I've built and save it under a new name

    ...
    MsgBox "Saving as " & aFullPath
    ActiveDocument.SaveAs FileName:=aFullPath, FileFormat:=wdFormatDocumentDefault

But that changes the name of my parent document that contains my forms (Word2016 document name: waiver.docm). In practice, that won't be a problem because the user will not be saving "waiver.docm" except by accident.

But that's why I think my approach is wrong.

Ideally my VBA code would

  1. Load a protoype waiver template with the page heading, bookmarks and table as I have now in my waiver.docm.
  2. Upon filling that template, append another waiver template as a new page.
  3. And return control to the form
  4. Repeat above two steps of appending of sheets until the user indicates completion (e.g. "Finish" command button). Typically after 1 to 4 pages
  5. Print and save the entire document.

Right now I interrupt the process after each page to force my prospective user to print and save the document (and under a unique name).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source