View Single Post
 
Old 04-24-2017, 05:12 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Code:
Sub KillAltText()
Application.ScreenUpdating = False
Dim Rng As Range, Shp As Shape, iShp As InlineShape, i As Long
With ActiveDocument
  For Each Rng In .StoryRanges
    With Rng
      For Each Shp In .ShapeRange
        With Shp
          If .Type = msoGroup Then
            For i = 1 To .GroupItems.Count
              .GroupItems(i).AlternativeText = ""
            Next
          End If
          .AlternativeText = ""
        End With
      Next
      For Each iShp In .InlineShapes
        iShp.AlternativeText = ""
      Next
    End With
  Next
End With
Application.ScreenUpdating = True
MsgBox "Finished updating", vbOKOnly
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote