Your answer may be:
ActiveWindow.Selection.PrimaryItem
&
ActiveWindow.Selection.PrimaryItem.Master.Shapes(1)
.... but I am only guessing because I didn't understand the question!
Visio.ActiveWindow.Selection(1) will give the (first) shape that i
selected (there could be more than one item in the selections).
To get custom properties defined use:
shape.Cells("Prop.SomePropName").ResultStr(0) if it is a strin
property
-
claire
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.