CellExists property does not find cell though the cell does exist.

T

tngengineer

Though I am a new user, I am posting to Developers because it is a VBA
question.
I am generating an engineering Process Flow Diagram.
I have a Master Shape with custom properties I have built by modifying one
of the Pipeline Masters. One such property in my Master Shape is "Prop.P".
In VB, the statement: vsoShape.CellExists("Prop.P", 1) returns FALSE for all
shapes dropped onto the page from this master. If I open the page shape
"vsoShape"s shapesheet, Prop.P is there. If I rename it Prop.P (ie, the same
name it had originally), then CellExists returns TRUE, which is the result I
sought originally.

Though I haven't tried CellExists on other custom properties, I suspect they
will all behave the same way. How can I fix this problem?
 
P

Paul Herber

Though I am a new user, I am posting to Developers because it is a VBA
question.
I am generating an engineering Process Flow Diagram.
I have a Master Shape with custom properties I have built by modifying one
of the Pipeline Masters. One such property in my Master Shape is "Prop.P".
In VB, the statement: vsoShape.CellExists("Prop.P", 1) returns FALSE for all
shapes dropped onto the page from this master. If I open the page shape
"vsoShape"s shapesheet, Prop.P is there. If I rename it Prop.P (ie, the same
name it had originally), then CellExists returns TRUE, which is the result I
sought originally.

Though I haven't tried CellExists on other custom properties, I suspect they
will all behave the same way. How can I fix this problem?

try vsoShape.CellExists("Prop.P", 0)
 

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