Shape.AlternativeText in PowerPoint 2007

S

Stein-Tore Erdal

AlternativeText property of the Shape object in PowerPoint 2007 does not
seem to work.
Gets "<Object doesn't support this action>" when trying to access it.

According to documentation (2007) any Shape should have it.
Worked fine in PowerPoint 2003.

Anyone experienced the same?

Stein-Tore Erdal
 
S

Stein-Tore Erdal

Seems it only applies to a Shape inside a table cell.
For the Shape that contains the table, all properties work as expected.
For shapes inside a table cell, most of the Shape properties is not set.
A very distinct change (bug?) from PowerPoint 2003.

I need a way to mark any Shape, even one inside a table cell, so I can find
again later.
I used the AlternativeText property to do so.
In Word one can use bookmarks to mark a place in the document, but
PowerPoint does not seem to have this concept.

If anyone has another idea as to how to do this I would be gratefull.


Stein-Tore
 
S

Shyam Pillai

Hi,
Yes, this is a bug in PPT 2007. In previous versions you could reference the
shape within the table and get/set all properties. Unfortunately, you can
only tag the table itself now and not any of the child shapes.


--
Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm
 
S

Steve Rindsberg

Seems it only applies to a Shape inside a table cell.
For the Shape that contains the table, all properties work as expected.
For shapes inside a table cell, most of the Shape properties is not set.
A very distinct change (bug?) from PowerPoint 2003.

I need a way to mark any Shape, even one inside a table cell, so I can find
again later.
I used the AlternativeText property to do so.
In Word one can use bookmarks to mark a place in the document, but
PowerPoint does not seem to have this concept.

Consider using tags rather than alt text for this kind of thing.
You can add multiple tags to a single shape, so you could conceivably tag the
shape containing the table with something like:

.Tags.Add "PropertyName", "3,4"

rather than adding "PropertyName" as alt text.

Now you can look at the shape .Tags("PropertyName") to get "3,4" ... the row
and column of the cell you're after.
 

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