Re: verify a shape exists in the ***
- From: "vandaley" <yossisp@xxxxxxxx>
- Date: 29 Oct 2006 04:22:39 -0800
Thanks ,
Seems to do the trick.
Ron de Bruin wrote:
Hi vandaley
One way is to use on error
On Error Resume Next
Active***.Shapes("AAPicture").Delete
On Error GoTo 0
--
Regards Ron de Bruin
http://www.rondebruin.nl
"vandaley" <yossisp@xxxxxxxx> wrote in message news:1162114493.647627.301760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am trying to delete a shape from a *** with:
Active***.Shapes("AAPicture").Select
Selection.Delete
I need to verify first that the shape exists so the user wont get an
error that the object doesnt exists.
How can i do that?
Thanks,
.
- References:
- verify a shape exists in the ***
- From: vandaley
- Re: verify a shape exists in the ***
- From: Ron de Bruin
- verify a shape exists in the ***
- Prev by Date: Re: Formula for cells
- Next by Date: Results no longer currency when adding text to formula / formulas based on resulting cell don't work.
- Previous by thread: Re: verify a shape exists in the ***
- Next by thread: Re: verify a shape exists in the ***
- Index(es):
Loading