![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#7
|
||||
|
||||
|
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] |
| Tags |
| alternative text, image, object |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding AddIn with VBA stops recognizing file path | troylparrish | Word VBA | 2 | 10-20-2015 05:16 AM |
| Publisher '07--default file path | markg2 | Publisher | 0 | 02-15-2014 10:22 AM |
insert auto path & file name in ppt 2013
|
rideninc | PowerPoint | 1 | 01-28-2014 05:38 AM |
| Modify default template to include file path | jacl | Excel | 1 | 03-26-2011 10:24 AM |
| Default Text Wrapping when image inserted | johnnypalmer | Word | 2 | 11-04-2010 12:02 PM |