B
Bob Leathers
Hello Folks-
I am trying to draw and arrow which is no problem using the automatic
recording macro function is Excel 97. The problem comes in when I try to
delete the same arrow using the same recording method. After all is
done, when I run the "ShowArrow" it works fine, but when I run the
"DeleteArrow" the macro fails?
There will hopefully be multiple arrows on the spreadsheet.
The VB error is "The item with the specified name wasn't found"
The code is
ActiveSheet.Shapes("Line 18").Select
Selection.Delete
Perhaps I need to identify the "Line 18" in a different way?
Any help?
Thanks Again
I am trying to draw and arrow which is no problem using the automatic
recording macro function is Excel 97. The problem comes in when I try to
delete the same arrow using the same recording method. After all is
done, when I run the "ShowArrow" it works fine, but when I run the
"DeleteArrow" the macro fails?
There will hopefully be multiple arrows on the spreadsheet.
The VB error is "The item with the specified name wasn't found"
The code is
ActiveSheet.Shapes("Line 18").Select
Selection.Delete
Perhaps I need to identify the "Line 18" in a different way?
Any help?
Thanks Again