J
Janet S
I'm working on a sub to (1) search for a particular style, (2) move to the
preceding paragraph, (3) check what style it is, and (4) if it's the style
"Heading 2", move back to the following paragraph and do something. It's step
3 that's giving me trouble. How do I say: if the paragraph has a particular
style...
This is what I've got, but it doesn't work.
If .Style = wdStyleHeading2 Then
Thank you in advance,
~ Janet
preceding paragraph, (3) check what style it is, and (4) if it's the style
"Heading 2", move back to the following paragraph and do something. It's step
3 that's giving me trouble. How do I say: if the paragraph has a particular
style...
This is what I've got, but it doesn't work.
If .Style = wdStyleHeading2 Then
Thank you in advance,
~ Janet