![]() |
|
|
|
#1
|
||||
|
||||
|
It seems to me you're going about this the wrong way. Surely it would be better to ensure there is always a space (if appropriate) before and/or after whatever the problem content is at the time of insertion, rather than trying to clean it up afterwards.
Regarding punctuation issues (which are broader than just 'the beginning of a sentence following a blank row'), those can be handled by the use of an appropriate wildcard expression that tests what the preceding character is. As for case sensitivity, 'MatchCase' doesn't work with wildcards - wildcard expressions are always case-sensitive.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
macro to find a character and insert space so autocorrect will expand
|
redzan | Word VBA | 3 | 05-22-2014 04:22 PM |
| Insert space in front of a numberd list MS Word | ekesawi | Word | 1 | 12-05-2012 07:21 PM |
Envelope Printing is off target - need help please!
|
mylan | Word | 2 | 10-24-2012 12:24 PM |
| Send OFT when target email arrives | RandWald | Outlook | 0 | 11-11-2011 10:52 AM |
Target line on a excel graph
|
leroytrolley | Excel | 1 | 01-16-2009 04:19 PM |