F
Felix
Hello,
I need to find and delete a text box in a document. I was able to record a
macro that does this:
ActiveDocument.Shapes("Group 3").Select
Selection.Delete
It works fine if the text box is present, but if it's not there, the macro
gives me a run-time error (specified item not found).
How can I wrap the above statements to test for the presence of the text box
first?
Thanks!
I need to find and delete a text box in a document. I was able to record a
macro that does this:
ActiveDocument.Shapes("Group 3").Select
Selection.Delete
It works fine if the text box is present, but if it's not there, the macro
gives me a run-time error (specified item not found).
How can I wrap the above statements to test for the presence of the text box
first?
Thanks!