View Single Post
 
Old 06-09-2022, 03:53 AM
rollis13's Avatar
rollis13 rollis13 is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Jan 2021
Location: Cordenons
Posts: 142
rollis13 will become famous soon enough
Default

In your example char.Font.Color of the first character of the hyperlink will return 9999999 and not wdColorBlue. Add the test on that value to this line of code:
Code:
If char.Font.Color <> wdColorAutomatic And char.Font.Color <> wdColorBlack _
   And char.Font.Color <> wdColorBlue Then