query about macros

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
 
J

Jay Freedman

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.
 
M

MB

Finally found it. That seems like a very strange place to find that info.
Seems it should be under tools/macros!!!

Mel
 
L

Larry

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
 
M

MB

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
 
L

Larry

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
 
D

David

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
 
S

Shauna Kelly

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
 
L

Larry

David, I'm not sure what you mean. What comments section are you
referring to?

Larry
 
D

David

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
 
L

Larry

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
 
D

Dayo Mitchell

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
 
S

Suzanne S. Barnhill

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top