View Single Post
 
Old 03-18-2019, 07:50 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I haven't played with the drawing canvas before. This appears to work
Code:
Sub ResetShapeLineWT()
  Dim oShp As Shape, oCShp As CanvasShapes, i As Integer
  For Each oShp In ActiveDocument.Shapes
    If oShp.AutoShapeType = msoShapeOval Then
      oShp.Line.Weight = 4.5
    ElseIf oShp.CanvasItems.Count > 0 Then
      For i = 1 To oShp.CanvasItems.Count
        If oShp.CanvasItems(i).AutoShapeType = msoShapeOval Then
          oShp.CanvasItems(i).Line.Weight = 4.5
        End If
      Next i
    End If
  Next
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote