Thread: [Solved] Word 2013
View Single Post
 
Old 01-14-2014, 08:20 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now Windows 7 64bit Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,005
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

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
You can see a list of WdColorIndex constants if you press F2 to display the Object browser in the Visual Basic Editor (Alt+F11).
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote