![]() |
#5
|
||||
|
||||
![]()
You can't use '.MatchWholeWord = True' when you're also using 'MatchWildcards:=True'; the latter overrides the former. You need to either:
(a) set 'MatchWildcards:=False'; or (b) delete '.MatchWholeWord = True' and enclose each of the find expressions in a pair of chevrons (e.g. <I>).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
insert comment, vba macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
shilabrow | Excel Programming | 4 | 06-23-2014 08:16 AM |
Macro to insert Text | Morte | Excel Programming | 1 | 03-04-2014 04:33 PM |
![]() |
Sharon | Word | 5 | 01-29-2013 03:12 AM |
Macro to insert new page... | samanthaj | Word | 17 | 01-31-2012 01:53 PM |
![]() |
rfhall50 | Word VBA | 2 | 10-25-2010 12:41 PM |