Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 08-23-2017, 08:28 AM
cheech1981 cheech1981 is offline applying heading style within paragraph using macro Windows 7 64bit applying heading style within paragraph using macro Office 2010 64bit
Advanced Beginner
applying heading style within paragraph using macro
 
Join Date: Nov 2011
Location: New Jersey, USA
Posts: 77
cheech1981 is on a distinguished road
Default

Thank you for the macro Paul (and thank you Charles for clarifying the style separator).

This video shows the macro in action (I added a period with the TypeText function and added a missing End Width).

I would like to make the period take the Body Text style (so that the period does not get generated into the Table of Contents), but I was not sure how to achieve that within the current code.

Also it seems like the text following the heading is not taking the Body Text style in the video (although it worked for me when I tested it in another document, so I'm not sure what is preventing it from working here). Any ideas on that?

Thank you again to you both--I'm always impressed by helpful you are!

Last edited by cheech1981; 08-23-2017 at 08:30 AM. Reason: could not upload .mp4 file so I uploaded it to youtube and shared that way
Reply With Quote
 

Tags
heading styles, macro, recorder



Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying heading style to multiple pages at once jane.bugai Word 5 02-24-2017 04:05 PM
applying heading style within paragraph using macro Using heading style level in a paragraph kam Word 7 03-24-2014 02:58 PM
applying heading style within paragraph using macro Macro to replace one specific heading style with another ubns Word VBA 44 09-04-2012 08:17 PM
applying heading style within paragraph using macro Applying style to first part of paragraph foxtrot Word 3 07-24-2012 07:30 AM
Character style stripped while applying paragraph style sams_gates Word 0 08-29-2009 02:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:54 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