macro to change to another font

A

a.fox

I've used vba, but never with word. I usually work with Arial or Times
fonts. I do a lot of music theory writing, so I need to use Yo Tomita's
bach font for characters. I would like to streamline the process of
changing the font and returning to the original font, often with the
next character. For instance, if I want to describe and E-flat chord, I
would like to type "E" then perhaps [alt-z] which changes the font to
bach, @ (which gives me the flat sign) then [alt-x] to return to the
orignal font.

Seems like two separate keyboard-shortcut macros to me. Should I be
looking at this another way?

Andy
 
J

Jay Freedman

I've used vba, but never with word. I usually work with Arial or Times
fonts. I do a lot of music theory writing, so I need to use Yo
Tomita's bach font for characters. I would like to streamline the
process of changing the font and returning to the original font,
often with the next character. For instance, if I want to describe
and E-flat chord, I would like to type "E" then perhaps [alt-z] which
changes the font to bach, @ (which gives me the flat sign) then
[alt-x] to return to the orignal font.

Seems like two separate keyboard-shortcut macros to me. Should I be
looking at this another way?

Andy

Yes, I'd suggest defining two (or more) character styles that apply the
different fonts. You can use the Tools > Customize > Keyboard dialog to
assign shortcuts directly to the styles. No macros are necessary.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
A

a.fox

Sounds great, but I'm afraid you lost me at defining the character
styles that apply the fonts. Would you please explain? Or perhaps
direct me to a web source?

Thanks for your help.

Andy
 
A

a.fox

Sounds great, but I'm afraid you lost me at defining the character
styles that apply the fonts. Would you please explain? Or perhaps
direct me to a web source?

Thanks for your help.

Andy
 
J

Jezebel

Experiment with the Styles pane. Some styles apply to entire paragraphs
(font, spacing, indents, etc); others -- character styles -- apply only to
text. You've probably used the Hyperlink character style even if you weren't
aware of it. The suggestion is you define a character style (eg called Music
or some such).
 
C

Charles Kenyon

http://addbalance.com/usersguide/styles.htm and
http://www.shaunakelly.com/word/styles/TipsOnStyles.html
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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