Thread: [Solved] Word 2013
View Single Post
 
Old 01-16-2014, 11:58 AM
cday cday is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Jan 2014
Posts: 2
cday is on a distinguished road
Default

Quote:
Originally Posted by Stefan Blom View Post
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).
This is the fix I used in Visual Basic to make it work. Thanks for the help.
Reply With Quote