![]() |
|
#1
|
|||
|
|||
![]()
Sorry, this the macro where I want to insert the exception.
I want to change font color to red. The exception are the hyperlinks. Any URL in the document should keep their color without changing to red. Sub Macro1() Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColorAutomatic Selection.Find.Replacement.ClearFormatting Selection.Find.Replacement.Font.Color = wdColorRed Selection.Find.Execute Replace:=wdReplaceAll End Sub Thanks! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Marcia | Excel Programming | 6 | 11-07-2018 04:13 AM |
![]() |
Chayes | Excel Programming | 8 | 06-05-2018 07:19 AM |
Exceptions on my documents | Martinod | Word | 1 | 03-12-2018 11:53 AM |
![]() |
Ulodesk | Word VBA | 4 | 03-07-2016 01:40 PM |
Autocorrect Exceptions not working | danvdr | Word | 6 | 05-26-2014 09:37 PM |