#1
|
|||
|
|||
Word 2013
In my Office 2013 MS Word the macro will not record the font color change. It will record the change in font type, size, and position, but not the color change. Has something changed in the new version of Word? |
#2
|
|||
|
|||
I recorded a macro in Word 2013 to change the font color to red.
Notice the recorded line: .Color = wdColorRed Sorry, but I have no explanation why this line does not appear when you record the macro. With Selection.Font .name = "Times New Roman" .Size = 11 .Bold = False .Italic = False .Underline = wdUnderlineNone .UnderlineColor = wdColorAutomatic .StrikeThrough = False .DoubleStrikeThrough = False .Outline = False .Emboss = False .Shadow = False .Hidden = False .SmallCaps = False .AllCaps = False .Color = wdColorRed .Engrave = False .Superscript = False .Subscript = False .Spacing = 0 .Scaling = 100 .Position = 0 .Kerning = 0 .Animation = wdAnimationNone .Ligatures = wdLigaturesNone .NumberSpacing = wdNumberSpacingDefault .NumberForm = wdNumberFormDefault .StylisticSet = wdStylisticSetDefault .ContextualAlternates = 0 End With |
#3
|
||||
|
||||
The macro recorder has limitations, that is, recording is never perfect. (But note that in some respects recording is less useful than it was in older versions of Word.)
Which change are you trying to make? If you just want to apply a standard color to the selection, you can use: Code:
Selection.Font.ColorIndex = wdBlue
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#4
|
|||
|
|||
In Windows only (not Mac), you can also specify any color.
For example: Selection.Font.Color = 13130340 Another example: Selection.Font.Color = RGB(64, 128, 192) |
#5
|
|||
|
|||
Quote:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it worth me getting 2013 Word? | jm515400 | Word | 8 | 06-08-2014 03:48 AM |
Word 2013: Hyperlinks in word created pdf open in web browser and not acrobat reader | slaycock | Word | 5 | 03-08-2014 01:04 PM |
Word 2013 vs Word 2010 formatting issue? | rhoyt | Word | 1 | 12-07-2013 09:40 AM |
Are user customizations transferable from Word 2003 to Word 2010 (2013)? | New Daddy | Word | 3 | 01-14-2013 07:25 AM |
Which ODF/ .odt version is word 2010, 2013 preview & eventually 2013 full using? | semiotically | Word | 8 | 11-08-2012 05:44 PM |