"This picture only contains a bitmap" error

  • Thread starter Thread starter Purvi
  • Start date Start date
P

Purvi

Hi,

I'm trying to ungroup all the shapes in a powerpoint file
programmatically. Some of the pictures in the file consist
of editable tables whereas the others are normal bitmap
files. I get a message when I try to run the macro if the
shape is a bitmap which is "This picture only contains a
bitmap". The type property of the shape object
returns "picture" for both the picture types. Is there any
way to know programmatically the type of picture i.e.
editable picture or a simple bitmap?

Thanks in advance,
Purvi
 
I'm trying to ungroup all the shapes in a powerpoint file
programmatically. Some of the pictures in the file consist
of editable tables whereas the others are normal bitmap
files. I get a message when I try to run the macro if the
shape is a bitmap which is "This picture only contains a
bitmap". The type property of the shape object
returns "picture" for both the picture types. Is there any
way to know programmatically the type of picture i.e.
editable picture or a simple bitmap?

In some cases, you can attempt to ungroup it and trap the error that results
when you attempt to ungroup a bitmap.
In other cases (particularly EPS graphics from Mac, though there may be
others) you seem to get that lousy message no matter what.
 
Back
Top