D
dcuthill
I have tried the attached which I had found on a recent search of this group
but it does not seem to delete all the captions but rather hangs up at "for
each acap in activedocument" stating that this object does not support this
property or method.
I am trying to delete all inline shapes and their corresponding captions
from a document - I have figured out the inline shape bit but the caption
part is a problem.
Any ideas would be welcome.
Dim acap As CaptionLabel
For Each acap In ActiveDocument
acap.Delete
Next acap
Thanks
David
but it does not seem to delete all the captions but rather hangs up at "for
each acap in activedocument" stating that this object does not support this
property or method.
I am trying to delete all inline shapes and their corresponding captions
from a document - I have figured out the inline shape bit but the caption
part is a problem.
Any ideas would be welcome.
Dim acap As CaptionLabel
For Each acap In ActiveDocument
acap.Delete
Next acap
Thanks
David