Quote:
Originally Posted by macropod
What is the problem with paragraphs?
|
I think because s my code was from the HTML it was having some paragraphs which was disturbing the overall pattern. I split the string with paragraphs and solved the problem.
Quote:
Originally Posted by macropod
Your code could be reduced to:
Code:
.Style = "Heading 2"
|
Thanks, for suggesting neat code.