Thread
: [Solved]
How to give multiple styles while inserting string
View Single Post
01-16-2016, 05:13 AM
PRA007
Windows 7 64bit
Office 2010 32bit
Competent Performer
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
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.
PRA007
View Public Profile
Find all posts by PRA007