Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-18-2019, 11:29 AM
wolverineblaine wolverineblaine is offline Alter Thickness of All Circles in Document Windows 10 Alter Thickness of All Circles in Document Office 2019
Novice
Alter Thickness of All Circles in Document
 
Join Date: Mar 2019
Location: Michigan
Posts: 7
wolverineblaine is on a distinguished road
Default Alter Thickness of All Circles in Document

I have a document created by someone else with nearly 100 pages and probably 1000 circles. I need to write some vba code to change the thickness to 4.5 (it is currently 0.75).

I have never written any vba code before, but have used small sections obtained online in the past. Any help would be greatly appreciated.

I'm thinking the code would need to select the shape, set the thickness then move onto the next shape altering the same property in a loop.

Here is what i have so far...



Sub CircleThickness()
With ActiveDocument.Shapes(1)
.AutoShapeType = msoShapeOval
.Line.Weight = 4.5
End Sub
Attached Files
File Type: docm MathPuzzleSample.docm (55.5 KB, 8 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you alter font/size within Task folders lsg267 Office 0 06-16-2017 07:45 AM
Alter Thickness of All Circles in Document divided circles ericvorlage Excel 1 01-26-2014 11:07 AM
Alter Thickness of All Circles in Document End or alter a loop? DJSOUND Word VBA 1 10-11-2013 08:11 PM
Alter Thickness of All Circles in Document Alter right click menu? markg2 Office 1 01-10-2011 08:10 AM
Circles Toruk-Mach-Toh Word 0 03-16-2010 05:33 AM

Other Forums: Access Forums

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