Selection.SelectCurrentColor (Word)
Extends the selection forward until text with a different color is encountered.
Selection.HomeKey Unit:=wdStory, Extend:=wdMove
Selection.SelectCurrentColor
n = Len(Selection.Text)
MsgBox "Contiguous characters with the same color: " & n