#1
|
|||
|
|||
Keystroke to run macros
Hello everyone.
Can you please tell me how to run a macros by assigning keystrokes to it. I'm using Office 2010 and I have a lot of existing macros that I would now like to assign. Thanks |
#2
|
|||
|
|||
Hello,
This is the same process in Word 2010 to Word 2021 (and 365) in the desktop versions. If these are macros you are going to be using regularly and do not need to "tweak" in the visual basic explorer, I would recommend first moving them to a new Global Template to insulate them from "stuff" that seems to happen to the Normal Template. This will also make it easier to move or share them. You can do this using the Organizer. That link shows you how to get to the Organizer for styles, but once you are there, you can click on the tab for macros. Once you have the template where you are going to keep them open, you can assign your keyboard shortcuts, storing those shortcuts in the same template. I advise moving the macros first because it is not easy to copy/move keyboard shortcuts. I know of only one way: Chris Woodman's Keyboard Shortcut Organizer. So, at this point you have your macros where you want them. If stored in a global template, that template is the open document on your screen. If still in your normal template, that is OK, the normal template does not have to be specially opened.
Word will tell you if this is already used for something. If it is, you can still use it, or backspace to blank your shortcut and try a different one. Click on the Assign button.
Important. You must press Close on this dialog box and OK on the Customize the Ribbon Dialog box to save your changes. If you are going to pause this process to do something else, OK your way out so you don't lose your work. Be aware that you can use a prefix or trigger shortcut for a number of different macros. Recently I assisted someone who wanted shortcuts for macros to insert the symbols for card suits and found that the keyboard shortcut Ctrl+Alt+Shift+D was not available in Word for Diamonds. (He wanted to use C, D, H, and S with the shift keys for this.) Instead used Ctrl+Alt+Shift+C followed by the different letters for the four suits. The Ctrl+Alt+Shift+C sets Word up to wait for one of those four assigned to trigger a macro. Using prefixes like this can help keep you from running out of shortcuts and can help organize them. See also my article: Assigning Keyboard Shortcuts in Microsoft Word 2007-2021 (365) Last edited by Charles Kenyon; 11-27-2021 at 01:22 PM. |
#3
|
|||
|
|||
Thank you VERY much
|
#4
|
|||
|
|||
You are welcome.
|
#5
|
|||
|
|||
By the way, you'll see my other post. A colleague sorted out the first two issues for me. For anyone who doesn't know, press "CTRL+SHIFT+8" cleans the text. Who could have guessed? I would still appreciate some help with the autocirrect issue. Thanks again.
|
#6
|
|||
|
|||
Ctrl+Shift+8 (Ctrl+*) does not clean text. It toggles the display of non-printing formatting marks.
Showing non-printing formatting marks in Microsoft Word |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My Ctrl+U no longer is the Underline! How do I re-assign that function to the keystroke? | FearlessStamper | Word | 2 | 09-07-2017 06:53 AM |
How to automatically enable the macros upon opening a file with macros? | laurieli | Office | 7 | 01-17-2016 08:56 AM |
Keystroke to jump the cursor to the next row directly | Joey Cheung | Word Tables | 1 | 08-27-2014 07:01 AM |
Macros | Desertwrangler | Word VBA | 6 | 06-25-2010 07:06 AM |
Keystroke for A1 | eliz.bell | Excel | 1 | 06-11-2010 09:06 PM |