SectionExists property returns unexpected value
For some reason SectionExists property returns me an unexpected value:
Watch : : ActivePage.Shapes.Item("Dynamic connector.811").SectionExists(visSectionProp, True) : -1 : Integer
while both Shape Data window and ShapeSheet shows no signs of this section existence nor I have created it.
Any ideas about the reason for such a behaviour?
November 5th, 2013 5:15am
one possibility is that the shape you're querying via code is not the shape you're examining manually.
al
November 5th, 2013 7:51am
Thanks Al!
But how is it possible when they have identical names?
November 5th, 2013 8:48am
Is it returning a value of -1?
-1 = false i.e. section doesn't exist.
November 5th, 2013 9:41am
"True <keyword>
The True keyword has a value equal to -1."
That's what VB for Apps Language Reference states.
November 5th, 2013 11:47am
"True <keyword>
The True keyword has a value equal to -1."
That's what VB for Apps Language Reference states.
November 5th, 2013 7:44pm