Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 01-16-2016, 05:13 AM
PRA007's Avatar
PRA007 PRA007 is offline How to give multiple styles while inserting string Windows 7 64bit How to give multiple styles while inserting string Office 2010 32bit
Competent Performer
How to give multiple styles while inserting string
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default

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.
Reply With Quote
 

Tags
vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do multiple find and replace in string. PRA007 Word VBA 2 01-06-2016 09:10 PM
Multiple Hyperlink to a single string PRA007 Word VBA 7 11-09-2015 04:29 PM
How to give multiple styles while inserting string Find Multiple Wildcard string and Highlight PRA007 Word VBA 2 10-17-2015 01:07 AM
How do I string together multiple copies of the same template in Office 2011 for Mac? terrymarks Word 1 06-14-2015 10:21 PM
inserting a string of data into an MS Word table??? matto Word VBA 0 07-16-2010 09:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft