Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-19-2019, 12:30 PM
gmaxey gmaxey is offline Automatically format specific parts of a word document Windows 10 Automatically format specific parts of a word document Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

As long as those parts have a defined range, then yes.

A defined range can lots of things. A table cell, a bookmark, and content control, a paragraph etc.

E.g.,

With ActiveDocument.SelectContentControlsByTitle("Name" ).Item(1)
.Range.Text = UCase(.Range.Text)
.Range.Font.NameLocal = "Arial
.Range.font.Size = 12
End With
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Tags
autoformat, formatting data, vba code



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically format specific parts of a word document Can Macros Automatically Format an Entire Document to My Specifications CrossReach Word VBA 4 11-14-2017 12:51 PM
Automatically format specific parts of a word document Pulling parts of a webpage down to Word document Bungkai Word VBA 1 12-17-2015 10:48 PM
Add pictures in specific parts of the document and resize them automatically - MS Word 2013 Andrew_G93 Word 6 11-10-2015 09:00 AM
Automatically format specific parts of a word document Adding and Moving parts of a document in Word PauledInAction Word 4 07-13-2012 02:38 PM
Automatically format specific parts of a word document Can you prevent parts of a Word document from printing? mgp69 Word 4 04-04-2012 02:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:51 AM.


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