M
///Matt
I'm new to Visio Property Sheet use, am trying to create some compound
shapes, and need to figure out the 'trick' to referencing a shape by
name. I prefer to name shapes (e.g. "Titlebar" versus "sheet.<id>"
for simplicity and general elegance (coder habit). Per MSDN, I should
be able to use 'Name' (single quotes) in place of sheet.<id>.
However, the method suggested does not work.
Example: While sheet.31!width works, 'MyShape'!width generates a
typically uninformative "error in formula" error. I have tried
numerous variations and could get none to work.
Does anyone have a tested-and-known-good syntax sample for referencing
a shape by name?
Thanks,
Matt
shapes, and need to figure out the 'trick' to referencing a shape by
name. I prefer to name shapes (e.g. "Titlebar" versus "sheet.<id>"
for simplicity and general elegance (coder habit). Per MSDN, I should
be able to use 'Name' (single quotes) in place of sheet.<id>.
However, the method suggested does not work.
Example: While sheet.31!width works, 'MyShape'!width generates a
typically uninformative "error in formula" error. I have tried
numerous variations and could get none to work.
Does anyone have a tested-and-known-good syntax sample for referencing
a shape by name?
Thanks,
Matt