Hi, Steve. The error I get is "Run-time error 70. Permission denied." And
even though I've written an error handler, this error displays the dialog and
brings things to a grinding halt, rather than sending the error to the error
handler.
The line causing this error is:
oSh.Ungroup.Group
I've tried as many variations on this as I can think up, like
oSh.Ungroup.Select, for instance, but as soon as it gets to that line, the
routine stops.
It almost seems like I need to know whether a shape has the option to be
ungrouped before I make the attempt to ungroup it, but I'm not sure how to do
that in code.
Thanks.
> Hi, Steve. The error I get is "Run-time error 70. Permission denied." And
> even though I've written an error handler, this error displays the dialog and
[quoted text clipped - 7 lines]
> oSh.Ungroup.Select, for instance, but as soon as it gets to that line, the
> routine stops.
Can you send me a one-slide PPT with just one of these objects on it, no more than
that, and also copy/paste our exchange here into the body of the email. I'd like to
have a look.
steve atsign pptools dirtspeck com
> It almost seems like I need to know whether a shape has the option to be
> ungrouped before I make the attempt to ungroup it, but I'm not sure how to do
[quoted text clipped - 62 lines]
> > PPTools: www.pptools.com
> > ================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Tony Logan - 04 Oct 2006 20:09 GMT
Hi, Steve. Sent an email your way.
Thanks.
> Can you send me a one-slide PPT with just one of these objects on it, no more than
> that, and also copy/paste our exchange here into the body of the email. I'd like to
> have a look.
Steve Rindsberg - 05 Oct 2006 03:30 GMT
> Hi, Steve. Sent an email your way.
>
[quoted text clipped - 3 lines]
> > that, and also copy/paste our exchange here into the body of the email. I'd like to
> > have a look.
Thanks Tony.
For the benefit of onlookers, the shape in question was an embedded image on the slide
master. A bit of error trapping seems to have solved the problem at this end.
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================