View Single Post
 
Old 11-14-2023, 02:39 AM
gmaxey gmaxey is offline Windows 10 Office 2019
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

I don't have a mac so not sure if this will work or not:

Code:
Sub ScratchMacro()
'A basic Word Macro coded by Gregory K. Maxey
Dim oSection As Section
Dim lngIndex As Long, lngShape As Long
  For Each oSection In ActiveDocument.Sections
    For lngIndex = 1 To 3
      For lngShape = oSection.Headers(lngIndex).Shapes.Count To 1 Step -1
        oSection.Headers(lngIndex).Shapes(lngIndex).Delete
      Next lngShape
    Next lngIndex
  Next oSection
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote