Macro inserted into the normal template - not working and changing new documents

Anonymous
2022-01-24T15:29:32+00:00

For some reason my Word 2016 has started defaulting to opening documents in multi-page view. Google research has told me to insert a macro in the Normal.dotm template and provided me with the necessary code and how to locate the template.

Using the procedure I was given, I did this:

  1. Create a new blank document
  2. Copy and paste the macro text into it
  3. SelectFile>**Open.**Use the Browse button to launch a file-explorer window,
  4. Open C:\Users[username]\AppData\Roaming\Microsoft\Templates.
  5. Choose the  Normal.dotm option.
  6. Make any formatting changes in the interface, the same way as in any Word document.

 7. Save the document.

Everything was fine up to step 5. however, instead of seeing the code in the file, I got a blank page.

So, I pasted in the macro code and saved the document. (Pretty obvious now what a Big Mistake!)

Closed Word and opened it again.

Now, existing files still open displaying multi-page. New files open displaying the macro and if I delete the macro text and fill the document past the end of page 1, page 2 opens next to page 1.

Is there anything I can do to fix this apart from reinstalling Office 2016?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

6 answers

Sort by: Most helpful
  1. Charles Kenyon 158.8K Reputation points Volunteer Moderator
    2022-01-24T15:51:36+00:00

    That page gave you awful advice if that is what it told you to do.

    You should not have pasted the text into the Normal.dotm template, but into a vba module in that template.

    If you do this, you will not see anything in a new document. However, if you open the vba editor, it should be in the module of your normal template.

    Start by opening your Normal.dotm again and deleting that junk. You should NEVER insert text into your normal template.

    Then, see:

    For your problem, try Jay Freedman's SaveViewMultiLoc free utility. You can download it from his web page. The Macro Zone - Jay Freedman, MVP

    Read the instructions on that page.

    That may do just what you want.

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-01-24T22:54:13+00:00

    Thanks for your advice. The problem I have in following it is;

    When I followed the path users>[user name]>appdata>roaming...... >templates and then clicked on normal.dotm, I got a Word document labeled Doc1 which contained the macro that I pasted in before I posted my original question.

    So, I deleted the text and went to save. Since there was no Doc1 document already there it defaulted to Save As. It seemed to me that the blank document (Doc1) needed to be saved into normal.dotm, so I used Browse to find normal.dotm again, but when I reached "Templates", normal.dotm was no longer listed.

    So I am, stuck.

    0 comments No comments
  3. Suzanne S Barnhill 274.6K Reputation points MVP Volunteer Moderator
    2022-01-25T02:33:48+00:00

    The default action for a template (.dotx or .dotm) is New rather than Open, so fortunately you just created a new document instead of actually editing the file. A simpler method of creating a macro in the Normal template is given at http://www.gmayor.com/installing_macro.htm

    0 comments No comments
  4. Charles Kenyon 158.8K Reputation points Volunteer Moderator
    2022-01-25T20:06:11+00:00

    How to Open the Normal Template in Any Desktop Version of Word (except Mac 2008)

    You want to open the template for editing to remove that text. Double-clicking on any template should create a new document, not open the template.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-01-28T22:01:38+00:00

    Thank you Suzanne. That was a big help

    0 comments No comments