Using Multiple Smart Tags With Same Action

Started by rymar, March 24, 2011, 09:20:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rymar

I am looking for a way to call a single Action from multiple Smart Tags, passing a Smart Tag "index". I have associated an Actions row with a Smart Tags row, using the TagName field on both rows. In the Actions row, I am using the CALLTHIS function to call some VBA code. I will be creating multiple Smart Tags on each shape, each of which will have the same commands available. Rather than creating a new Actions row for each command, in each Smart Tag, I would like to be able to find out which Smart Tag is being used, and create an argument to my VBA code which indicates this. It would also be OK to find out which Smart Tag is being used from the VBA code, rather than creating an argument in the CALLTHIS function.

Is there a way to do this (I'm using Visio 2007).

Thanks!