query about macros

  • Thread starter Thread starter MB
  • Start date Start date
M

MB

I have WORD97. Let's say I create a macro and assign it to a key
combination.

Next time, I forgot the specific key combination.

Where is it listed?? If I look under Tools/macros I can find the name of my
macro and in fact run it from there, but it doesn't seem to list the key
combination.

Mel
 
Hi, Mel,

In Tools > Customize, click the Keyboard button. In the new dialog,
select Macros in the Categories list and select your macro in the
Macros list. The assigned keystroke will be shown in the box below.
 
Finally found it. That seems like a very strange place to find that info.
Seems it should be under tools/macros!!!

Mel
 
You can access the Customize Keyboard dialog box more readily through a
build-in command, which for some reason is not documented. (For
example, Word 97's Help tells you how to open the dialog the long way;
it doesn't tell you the short way.) First, open the CK dialog the way
Jay just showed you. In the Categories pane choose All commands. In
the Commands pane scroll down to ToolCustomizeKeyboard and assign a
keystroke to it. (For example, I use Alt+K.) Now, using that assigned
keystroke you can open the CK dialog box in one step instead of going
through all those steps.

Of course, even if you open the CK dialog that way, you still have to
choose Macros in the Categories pane and then switch your focus (either
with your mouse or by pressing Tab) to the Macros pane to find the
keystroke of a particular macro. There is macro that opens the dialog
box and does those additional steps as well, if you're interested.

Larry
 
Larry:

Actually, I think it's easier just to have a separate .wps file called
macros.
That's what I'm going to do. As I record a macro, I'll just add that info to
my file.

Mel
 
While there may be value in keeping your own record of your macros and
their keystrokes, don't disregard the Customize Keyboard dialog box. It
is a very efficient utility, enabling you to see what the present
assignments are and to change them.

Larry
 
Larry:

Actually, I think it's easier just to have a separate .wps file called
macros.
That's what I'm going to do. As I record a macro, I'll just add that info to
my file.

Mel

I just add the keyboard shortcut to the comments section when I create
the macro. It's always there as a reminder when you list the macros.

David
 
It's also worth remembering that you can print out all the key
assignments. Open the document or template in question. Ctrl-p. In the
Print What box, choose Key Assignments.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
Melbourne, Australia
 
Well for instance...

Sub Close_Window()
'
' Close_Window Macro
' Macro recorded 14-07-03 by David
'
' Shortcut Key ALT+\

ActiveDocument.Save
ActiveDocument.Close

End Sub

So if I can't remember the keys for a macro I haven't used for a while
I go into Tools > Macros > Edit and there it is: ALT+/

David
 
Now I see. You make a note of the assigned keystroke for that macro in
the VBA code window. There's no such thing as a macro's "comments
section" per se. There are just commented-out lines, which can appear
anywhere in the macro.

Larry
 
In the Macros.... Dialog box, you could also enter notes into the
description window at the bottom. Then the keyboard shortcut would show up
in the Macros... Dialog, as you highlight each title in turn, without having
to go into VB Editor. (Unless MS changed the set up after 2000. You can
edit the description at time of creation or after)

DM
 
The Description box is still available in Word 2002. I think many users
don't realize it's editable (despite the fact that the default description
is not very helpful).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top