P
Paul Martin
I regularly paste web pages into Word which I then format. With non-
printable characters displaying on the screen, any web scripts show up
at yellow boxes, and I'd like to delete these. The following code
causes a crash in Word (forced restart of Word) on the line "If Not
ishp.Script Is Nothing Then". Any suggestions appreciated.
Paul Martin
Melbourne, Australia
Dim ishp as InlineShape
For Each ishp In ActiveDocument.InlineShapes
If Not ishp.Script Is Nothing Then
ishp.Delete
End If
Next ishp
printable characters displaying on the screen, any web scripts show up
at yellow boxes, and I'd like to delete these. The following code
causes a crash in Word (forced restart of Word) on the line "If Not
ishp.Script Is Nothing Then". Any suggestions appreciated.
Paul Martin
Melbourne, Australia
Dim ishp as InlineShape
For Each ishp In ActiveDocument.InlineShapes
If Not ishp.Script Is Nothing Then
ishp.Delete
End If
Next ishp