![]() |
#1
|
|||
|
|||
![]()
Someone suggested this would be a "macro"? I would like to use the same commands across all MS Word 2010 Documents.
I use some adjustments in the written text in certain documents for public speaking. For instance... if I want to have a section of text with multiple font adjustments, I need to make each of the individually. (Example: Instead on having plain text, I want a portion of text to be bold and italic and highlighted in yellow). Currently, this takes multiple steps... highlight text with mouse, control B, control U and then select yellow highlight. If I wish to have another portion of text with an additional group of font changes... (Example: bold, italic, underlined and highlighted green), it takes me five steps to accomplish this. Is there a method to achieve these two examples by simply highlighting with mouse and a simple... control Q (or whatever)? Thank you for your help. |
#2
|
|||
|
|||
![]()
Sure. What you seem to asking about are Styles. You can set up any number of characteristics as a named Style, assign a keyboard shortcut to it and away you go.
So say you make a Character Style named MyGreenUnder (but you can name it anything like), with it being bold, underlined, italic and green. Assign Control-Q to it. Now anything you select can be made bold, underlined, italics...and green simply by pressing Control-Q. |
#3
|
|||
|
|||
![]()
Styles are definitely the Word tool for this.
Understanding Styles in Microsoft Word Tips for Understanding Styles in Word by Shauna Kelly You would probably benefit from going through all the pages of the following tutorial. Page 3 is about using Styles, but this tutorial contains information every Word user should have: Basic concepts of Microsoft Word: An introduction by Shauna Kelly |
#4
|
|||
|
|||
![]()
.
THANK YOU! I have figured out how to do the bold/italic/underline and the bold/italic... however I cannot seem to figure out how to include highlighting in as well. Thanks again. . |
#5
|
|||
|
|||
![]()
Highlighting cannot be a part of a style. However, background text shading can be. See Understanding Styles in Microsoft Word - Troubleshooting.
Last edited by Charles Kenyon; 06-24-2014 at 05:28 AM. Reason: add screenshot and link |
#6
|
|||
|
|||
![]()
.
Thank you, Charles. . |
#7
|
|||
|
|||
![]()
It is unfortunate that you can not put highlighting as a character style. For that you DO have to use a macro. However to do so is easy, and you can still assign a keyboard shortcut (say Ctrl-Q) to it.
Code:
Sub MyLotsOfFormat() With Selection With .Font .Underline = wdUnderlineSingle .Bold = True .Italic = True End With .Range.HighlightColorIndex = wdBrightGreen End With End Sub |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro Needed to bold specific lines and Macro to turn into CSV | anewteacher | Word VBA | 1 | 05-28-2014 03:59 PM |
custom icon, undo/redo for macro, permanent macro | Rapier | Excel | 0 | 08-05-2013 06:30 AM |
How do I assign a macro to a button when the macro is in my personal workbook? | foolios | Excel Programming | 2 | 07-27-2011 02:41 PM |