View Single Post
 
Old 03-20-2019, 01:54 PM
gmaxey gmaxey is offline Windows 10 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

Try this:
Code:
Sub ResetShapeLineWT2()
Dim oShp As Shape
Dim lngIndex As Long
  For Each oShp In ActiveDocument.Shapes
    Select Case oShp.Type
      Case 1
        If oShp.AutoShapeType = msoShapeOval Then
          oShp.Line.Weight = 4.5
        End If
      Case 20
        For lngIndex = 1 To oShp.CanvasItems.Count
          If oShp.CanvasItems(lngIndex).Type = 1 Then
            If oShp.CanvasItems(lngIndex).AutoShapeType = msoShapeOval Then
              oShp.CanvasItems(lngIndex).Line.Weight = 4.5
            End If
          End If
        Next
    End Select
  Next oShp
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote