![]() |
#9
|
|||
|
|||
![]()
Well, I shut Word between the different sessions (i.e., when I first posted the loop problem and when Graham responded), so it seems unlikely that something is "sticking." However, I added this:
Code:
With oRng.Find .Highlight = True .Wrap = wdFindStop Do While oRng.Find.Execute I think I may have to back up and maybe use the Selection object to just test characters (i.e., "^?") instead of whatever this is doing. I'm unfamiliar with the Range object; stepping through this macro puzzles me, because it finds whole swaths of highlighted text at once, instead of just one character. Then again, that's what happens when you search for no text with "Highlight" in the Find and Replace box. I don't know what to think. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to copy cell info to multiple documents | Patrick Innes | Word VBA | 2 | 02-18-2015 08:38 PM |
![]() |
Lostinvba | Word VBA | 3 | 11-23-2013 07:22 PM |
![]() |
blockie | Mail Merge | 8 | 11-13-2013 11:28 PM |
![]() |
Zack | Excel | 2 | 10-14-2010 12:07 PM |
Trouble updating a form | TomCaesar | Outlook | 0 | 11-29-2006 10:52 AM |