View Single Post
 
Old 01-18-2016, 12:00 AM
PRA007's Avatar
PRA007 PRA007 is offline Windows 7 64bit Office 2010 32bit
Competent Performer
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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 View Post
Your code could be reduced to:
Code:
.Style = "Heading 2"
Thanks, for suggesting neat code.
Reply With Quote