![]() |
|
#2
|
|||
|
|||
|
Sorry, don't know the answer to your direct question.
I am sure that this will give you multiple spaces (more than two) when run more than once. Before running these on a document where someone may have put in the two spaces already you need to run another macro that gets rid of two spaces (or three, four, or five) in a row. If there will always be a period before the ) when you want to do this, you should code for that. i.e. find ".) " and replace with ".) " Any chance you have wild cards turned on? |
| Tags |
| problem with macro |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple VBA macro error | Formulayeti | PowerPoint | 1 | 12-09-2011 10:02 PM |
Why it works but the macro is error in VB?
|
tinfanide | Excel Programming | 5 | 12-03-2011 12:53 AM |
| Macro Error 5174 | muster36 | Word VBA | 0 | 08-12-2011 03:34 AM |
| Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |
| Error On Closing Program - Outlook 2000 | sheepy11 | Outlook | 0 | 01-08-2006 08:39 AM |