R
Refresher
Hi,
I am hoping someone can help asnwer this question:
Let's say I have a word "XYZ" scattered throughout my Word document. That
Word document contains many heading levels, like:
1.
1.1
1.1.1
1.1.1.1
How do I write a macro that can remove "XYZ" only if it is in the 4th
heading level (e.g. 1.1.1.1, 1.1.1.2, 2.1.2.3, etc.)?
Also, how do I make it so the macro can also search for text blocks that
span multiple lines, like, for example,:
A
• B
C
• D
I want to be able to find and replace all text blocks that have exactly the
above format and everything, including the bullets.
Thanks.
I am hoping someone can help asnwer this question:
Let's say I have a word "XYZ" scattered throughout my Word document. That
Word document contains many heading levels, like:
1.
1.1
1.1.1
1.1.1.1
How do I write a macro that can remove "XYZ" only if it is in the 4th
heading level (e.g. 1.1.1.1, 1.1.1.2, 2.1.2.3, etc.)?
Also, how do I make it so the macro can also search for text blocks that
span multiple lines, like, for example,:
A
• B
C
• D
I want to be able to find and replace all text blocks that have exactly the
above format and everything, including the bullets.
Thanks.