meggleston
New Member
- Joined
- Aug 4, 2008
- Messages
- 2
I am after a Word VBA macro which will:
1. Search for a paragraph return (^p)
2. Determine if the next sentence starts with a number (format 1 to 99) - manually entered, does nut use Word's Numbering formats.
3. Determine if the next character is a Tab (^t).
4. If so, delete both the number and the Tab.
EXAMPLE
"We are all men.</SPAN>
1 Are we not?</SPAN>
Yes, we are."</SPAN>
Expected result
"We are all men.</SPAN>
Are we not?</SPAN>
Yes, we are."</SPAN>
1. Search for a paragraph return (^p)
2. Determine if the next sentence starts with a number (format 1 to 99) - manually entered, does nut use Word's Numbering formats.
3. Determine if the next character is a Tab (^t).
4. If so, delete both the number and the Tab.
EXAMPLE
"We are all men.</SPAN>
1 Are we not?</SPAN>
Yes, we are."</SPAN>
Expected result
"We are all men.</SPAN>
Are we not?</SPAN>
Yes, we are."</SPAN>