Find using NOT Criteria
I have VBA that searches for a fon开发者_运维技巧t that is colored red, and takes action.
VBA 2007 does not like this syntax:
With myRg.Find
.Font.ColorIndex <> wdBlack
Can I search for NON-black or any not
criteria?
Apparently what you wish to do cannot be done, but this work-around may be of interest: http://www.tech-archive.net/Archive/Word/microsoft.public.word.vba.beginners/2005-12/msg00012.html
精彩评论