Quote:
Originally Posted by PRA007
Ok. I tried but I think The problem is with paragraphs.
Recorded macro and found that
Code:
.Style = ActiveDocument.Styles("Heading 2")
is the key to success.
|
What is the problem with paragraphs?
Your code could be reduced to:
Code:
.Style = "Heading 2"