Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2022, 08:11 PM
Guessed's Avatar
Guessed Guessed is offline Word 2013 - how do I save normal.dotm during a Word session Windows 10 Word 2013 - how do I save normal.dotm during a Word session Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Charles
That seems to be a lot of effort when the NormalTemplate is already open. Wouldn't a macro only need one line?


Code:
Application.NormalTemplate.Save
PS. On my machine the default for saving new Autotext entries is Building Blocks.dotx, not Normal.dotm
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 04-19-2022, 10:47 AM
Charles Kenyon Charles Kenyon is offline Word 2013 - how do I save normal.dotm during a Word session Windows 10 Word 2013 - how do I save normal.dotm during a Word session Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,536
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by Guessed View Post
Charles
That seems to be a lot of effort when the NormalTemplate is already open. Wouldn't a macro only need one line?
Code:
Application.NormalTemplate.Save
PS. On my machine the default for saving new Autotext entries is Building Blocks.dotx, not Normal.dotm
Your code works if the Normal template thinks there has been some change. This is some times fiddled with by Add-Ins. My code makes sure that it knows it has not been saved. I am sure it can be improved upon, though.

The default save location for AutoText remains the Normal template.
00 deleteme 1.png

I tested this today in Word 2010, 2021, and 365. This was from Insert > Quick Parts > AutoText > Add Selection to AutoText Gallery and from Alt+F3. If you use Insert > Quick Parts > Add Selection to Quick Parts Gallery and then change the gallery in the dialog box, it also switches the template to the Normal template.

The default save location for other kinds of Building Blocks is Building Blocks.dotx.

I have been looking at this for more than ten years and saw the same thing in 2013, 2016 and 2019 which I no longer have installed.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2013 - how do I save normal.dotm during a Word session Cannot save some changes to normal.dotm template wiganken Word 2 12-02-2020 03:28 AM
Word 2013 - how do I save normal.dotm during a Word session Save and restore Word session Elli Word 16 10-26-2017 06:29 PM
Word 2013 - how do I save normal.dotm during a Word session Automatically save Normal.dotm Micha Häsler Word 6 08-03-2015 02:09 PM
Word 2013 - how do I save normal.dotm during a Word session Constant prompts to save Normal.dotm Teeafit Word 2 08-03-2015 02:07 PM
Set Page Colour in Normal.dotm for Word 2013 SteveWcg Word 2 11-19-2013 02:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft