Read Custom Properties

H

Homer Simpson

Hi ,

I have an application that I need to loop through all the shapes and read
the text. But some of the users have also put text into custom properties of
the shapes. Is it possible to read these custom properties.

From what I can tell, I have to use CellExists("Prop.<custom propertyname>")
or something like that. Then If it exists, do something like
cell.ResultsStr("") to read the text, but I am still getting nothing. Any
help would be greatly appreciated.

Thanks.
 
P

Paul Herber

On Mon, 26 Feb 2007 09:28:16 -0800, Homer Simpson <Homer
Hi ,

I have an application that I need to loop through all the shapes and read
the text. But some of the users have also put text into custom properties of
the shapes. Is it possible to read these custom properties.

From what I can tell, I have to use CellExists("Prop.<custom propertyname>")
or something like that. Then If it exists, do something like
cell.ResultsStr("") to read the text, but I am still getting nothing. Any
help would be greatly appreciated.

shape.Cells["Prop.your_property"].ResultsStr("")
 

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