Font - Keyboard Shortcuts and Macros

G

Guest

Hi,

My homework for my MS Word 2002 class is to record a macro where I type some
text and then change the font to 18-point Goudy Old Style bold.

I know I have to use keyboard shortcuts, so after I typed the text, I used
CTRL + A to select the text, CTRL + SHIFT + F and then the down arrow to
change the font to Goudy Old Style. Then I used CTRL + SHIFT + > to increase
the font size to 18. Then I pressed CTRL + B to bold the text, then the down
arrow to move the insertion point to the end of the text before I stopped
recording the macro.

When I run the macro, the text is bold, but instead of 18-point Goudy Old
Style, it is 12-point Times New Roman. I saved the macro in the default
template.

I am following My MS Word 2002 book word-by-word, consulting help files, and
trying to figure this out since it's due by 12 A.M. Sunday. Any help would
be greatly appreciated.

Thanks in advance :)
 
J

Jezebel

The short answer is: don't use the 'record macro' feature for creating
macros. Its only good purpose is to give you guidelines for what the macro
shouold look like. As you've just demonstrated the hard way, it doesn't work
very well.

If you have a teacher advising you to go this way, find another teacher.
Your current one is incompetent.
 
G

Guest

If you record your macro using menu and dialog box methods (e.g. format >
font) rather than using drop downs on the toolbar you will get something
useable that you can edit in the VBE.

Genine
 
B

Bill Foley

Sounds like your teacher is torturing you the same way he/she was tortured.
As mentioned don't use Keyboard Shortcut to do this. However, to satisfy
your Teacher (and your conscience), you can assign a keyboard shortcut to
your macro after you have recorded it correctly! HA!

Right-click toolbar area, select "Customize", click the "Keyboard..."
button, scroll down and select "Macros", choose your macro, click a keyboard
shortcut that is not already assigned (like CTRL+Q), click "Assign", then
try it out. If you select a combination that is already assigned, you will
be warned. Please heed the warning so you don't lose built-in
functionality.

Just a thought! Have fun!
 
S

Suzanne S. Barnhill

Jezebel, Genine, and Bill have give you some good tips, but in fact your
assumption that you have to use keyboard shortcuts is incorrect. You can
record menu and dialog choices and any kind of mouse action except
selection. If your assignment was to include the typing and selecting of
text in the macro, then this will have to be done from the keyboard, but be
aware that Ctrl+A will always select all text in the document, not just the
text that the macro has typed. If the macro is just to format the text, then
you can use the mouse and the Font dialog for this.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Hi Jezebel, Genine, Bill, & Suzanne,

Thanks for your all your help, I've figured it out that all I had to do was
press Enter after pressing CTRL + SHIFT + F.

Thanks :)
 
B

Beth Melton

I'm glad to hear you were able to complete your homework assignment
but I'm not glad to hear there are educators out there who could use
some education themselves on applications they are attempting to teach
to others. <sigh>

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 

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