Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2024, 10:59 AM
Dr. Rick Dr. Rick is offline Macros keep disappearing, along with keyboard shortcuts Windows 10 Macros keep disappearing, along with keyboard shortcuts Office 2010
Advanced Beginner
Macros keep disappearing, along with keyboard shortcuts
 
Join Date: Apr 2023
Location: Coastal N.C.
Posts: 45
Dr. Rick is on a distinguished road
Unhappy Phantom macros keep disappearing

I don't know that this thread is really "new," but I can't seem to find anything like it by searching, so... [Moderator's note - this was separately posted again in the Word forum. I combined it.]

All of my recorded macros (perhaps only 15 or 20 of them) seem to “’go away” (literally cease to exist) when I reload or save (or both) the document I’m working on. I get the dreaded question about whether I want save changes to the global template, and it doesn't seem to matter whether I answer yes or no. What I’d like to do is store my recorded macros and keyboard customizations in a different template and have it load every time I start MS Word.




What I’m currently doing is, after I find the macro list blank and sigh angrily, going to a copied text version of the VBA file with all the macros in it, copy it, and paste it into the new file (I guess it’s really getting saved in the normal.dotm file) and for the remainder of the session I can still access all my macros, but not the custom keys that I assigned them to.

As I said above, I'd like to have a template that contains all of my macros and customizations, and which loads EVERY time I run MS Word.

Or, alternately, can I somehow attach macros and customizations to a document itself, without getting the global template (which seems accident-prone)?

I'd like some pretty specific instructions about how to do this, if possible, especially regarding how and where to save my new template (rixtemplate.dotc,) how to get my macros and key customizations into it and how to be sure it loads either (1) every time I run Word, or (2) every time I load a specific document to which I attach them.

Aside: For me, as a long-term user of Word, the global template is by far the most frustrating part of working with what is, otherwise, a very decent word processor. I think it would make much more sense to have all shortcuts, macros, key assignments in a single file that could be accessed and modified as needed. Obviously that ship has already sailed, and I'm just on the dock wishin'

Any help would be great and if this post merely exposes my ignorance, it's only because that ignorance is quite real--thanks.
Rick Joslin


Last edited by Charles Kenyon; 10-08-2024 at 12:43 PM. Reason: add moderator's note
Reply With Quote
  #2  
Old 10-08-2024, 12:18 PM
Italophile Italophile is offline Macros keep disappearing, along with keyboard shortcuts Windows 11 Macros keep disappearing, along with keyboard shortcuts Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Please see https://www.msofficeforums.com/word-...shortcuts.html
Reply With Quote
  #3  
Old 10-08-2024, 12:51 PM
Charles Kenyon Charles Kenyon is offline Macros keep disappearing, along with keyboard shortcuts Windows 11 Macros keep disappearing, along with keyboard shortcuts Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,589
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 Dr. Rick View Post
I don't know that this thread is really "new," but I can't seem to find anything like it by searching, so... [Moderator's note - this was separately posted again in the Word forum. I combined it.]

All of my recorded macros (perhaps only 15 or 20 of them) seem to “’go away” (literally cease to exist) when I reload or save (or both) the document I’m working on. I get the dreaded question about whether I want save changes to the global template, and it doesn't seem to matter whether I answer yes or no. What I’d like to do is store my recorded macros and keyboard customizations in a different template and have it load every time I start MS Word.


What I’m currently doing is, after I find the macro list blank and sigh angrily, going to a copied text version of the VBA file with all the macros in it, copy it, and paste it into the new file (I guess it’s really getting saved in the normal.dotm file) and for the remainder of the session I can still access all my macros, but not the custom keys that I assigned them to.

As I said above, I'd like to have a template that contains all of my macros and customizations, and which loads EVERY time I run MS Word.

Or, alternately, can I somehow attach macros and customizations to a document itself, without getting the global template (which seems accident-prone)?

I'd like some pretty specific instructions about how to do this, if possible, especially regarding how and where to save my new template (rixtemplate.dotc,) how to get my macros and key customizations into it and how to be sure it loads either (1) every time I run Word, or (2) every time I load a specific document to which I attach them.

Aside: For me, as a long-term user of Word, the global template is by far the most frustrating part of working with what is, otherwise, a very decent word processor. I think it would make much more sense to have all shortcuts, macros, key assignments in a single file that could be accessed and modified as needed. Obviously that ship has already sailed, and I'm just on the dock wishin'

Any help would be great and if this post merely exposes my ignorance, it's only because that ignorance is quite real--thanks.
Rick Joslin
Hi Rick,

As I told you yesterday, I moved your post to the vba forum. I have combined your new post into that thread.

Please look at the links I gave you in a previous response. They describe some of the best practices and tell you how to create a Global Template other than the Normal Template . It is not difficult. Such a template supplements the Normal template; it does not replace it. You can have multiple such templates. (I have more than ten that are active and work together.) You should store all of the following in the same template:
  1. Macros
  2. Keyboard Shortcuts that call those macros
  3. Any QAT buttons calling the macros
  4. Any building blocks being used by the macros
You can find a number of such global templates in my downloads page under Add-Ins. You would also find a number on Graham Mayor's site and Greg Maxey's site that you can look at.
Here are two more links that may be helpful:

Last edited by Charles Kenyon; 10-13-2024 at 05:50 PM.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring keyboard shortcuts Firefox1701 Office 5 10-05-2021 02:24 AM
Keyboard shortcuts won't execute macros in Word 2010 kozureokami Word 4 02-26-2017 03:16 PM
Finding keyboard shortcuts for my macros tcantrell Word VBA 1 12-07-2015 02:04 PM
Importing Macros from 2007 with keyboard shortcuts gyro2222 Word VBA 19 03-02-2015 09:33 AM
Customizing Keyboard Shortcuts zextrot Outlook 0 11-11-2010 01:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:40 AM.


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