How do I display Visio Shape's list value?
Posted on 2007-11-26
How do I reference a user-defined list value on a shape in Visio?
I have a Visio shape, with a user-defined data field: Col_BType, which can be any one of four values in a fixed list. I am trying to identify the string value selected, but the closest I can get is the fixed list's INDEX value selected!
Here are the details:
Shape Name: selectedShape
Data Field: Col_BType (first value selected in fixed list)
Fixed List Val_a, Val_b, Val_c, Val_d
I can do this:
...and it returns:
Arrgh! I'm so close, but can't quite get there. I've racked my brain and reviewed every Cells property, to no avail. I'm just trying to get the value AT Index 0 of Col_BType.Format.
How do I get it to return "Val_a" instead of the freakin' index OF that value?? Help!