Removing shapes/graphics from all slides

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In PPT07, is there a way to automate the removal of certain common graphics
(exact graphic/text box on same location on all sides) from all slides in a
presentation if the graphic is on each slide, not on a master? If so, is
there the possibility of removing shapes that are similar, but in a different
location on the slides that you want to keep?
 
Mack Daddy 1 said:
In PPT07, is there a way to automate the removal of certain common graphics
(exact graphic/text box on same location on all sides) from all slides in a
presentation if the graphic is on each slide, not on a master?

Probably so. You can automate something like this:

Look at each slide
Look at each shape on each slide

If the shape's .Left, .Top, .Width, and .Height properties match your "target"
shape, then delete the shape.

You might also want to check the shape's .Type and do other tests to make sure
you don't delete unintended shapes that happened to be "in the same
neighborhood" at the wrong time.
If so, is
there the possibility of removing shapes that are similar, but in a different
location on the slides that you want to keep?

Possibly. How precisely can you define "similar"?
 
Where do I automate this?

Steve Rindsberg said:
Probably so. You can automate something like this:

Look at each slide
Look at each shape on each slide

If the shape's .Left, .Top, .Width, and .Height properties match your "target"
shape, then delete the shape.

You might also want to check the shape's .Type and do other tests to make sure
you don't delete unintended shapes that happened to be "in the same
neighborhood" at the wrong time.


Possibly. How precisely can you define "similar"?

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
 
Where do I automate this?

What Echo said.

You'd have to write Visual Basic or some other type of code, or hire someone to
write it for you if you aren't able to do it yourself.

If you're interested in learning how, follow the link Echo supplied, do a bit of
reading and if it starts to make the least bit of sense, give us a shout back here.

We'll get you started.
 
Thanks guys. I was looking for another way. I could write a script - just
don't have time, so was hoping '07 had built something in.
 
Back
Top