View Single Post
 
Old 01-28-2019, 04:11 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Fairly obviously, I'd have thought, you could test a document via code like:
If .Font.ColorIndex = 9999999 Then
from where you might take an approach like that demonstrated in https://social.msdn.microsoft.com/Fo...-word-document to compile a list of the colours in use (the code in the link tests for Styles, but the principle is the same). The main difference you'll need to consider is whether you need to return only colorindex values or whether you need to return values from the full RGB spectrum.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote