View Single Post
 
Old 03-18-2019, 11:29 AM
wolverineblaine wolverineblaine is offline Windows 10 Office 2019
Novice
 
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