![]() |
#3
|
||||
|
||||
![]()
Testing whether a document uses more than one font colour or highlight is as simple as:
Code:
Sub Demo() With ActiveDocument.Range MsgBox "Font Colour: " & .Font.ColorIndex MsgBox "Highlight Colour: " & .HighlightColorIndex End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
donaldadams1951 | Word VBA | 6 | 05-31-2018 04:36 PM |
Advanced Font Color Manipulation In Word: Inserting another color than the surrounding text | stuartg | Word | 1 | 02-20-2017 12:38 AM |
![]() |
cc3125 | Word | 1 | 10-26-2015 06:44 PM |
Font Color Question//.Replacement.Font.Color = 12611584 | rsrasc | Word VBA | 3 | 09-05-2015 09:03 PM |
Make a certain font face and font color as default in a document. | Singh_Edm | Word VBA | 2 | 09-13-2014 08:47 PM |