Removing shapes/graphics from all slides

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?
 
S

Steve Rindsberg

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"?
 
G

Guest

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
================================================
 
E

Echo S

What Steve is saying is that PPT doesn't do this, but you could write code
to make it do it.

To get started, go here: http://www.pptfaq.com/index.html#ListOfLinks

Then scroll to the bottom where it says For VBeginners.

I'd guess that this would not be a trivial task if you're not familiar with
VBA already.
 
S

Steve Rindsberg

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top