TagName Cell (Actions Section) [Visio 2003 SDK Documentation]

Contains the name of the smart tag that this action is associated with.

Remarks

The TagName cell in the Actions section works together with the TagName cell in the Smart Tags section to associate a smart tag with its actions.

  • If the TagName cell in an Actions row is blank, the action appears on a shortcut menu, not on a smart tag menu.
  • If a TagName cell value in the Actions row matches the TagName cell value in a Smart Tags row, the action appears on the smart tag menu.
  • If an action's TagName cell has a value but it does not match the TagName value in any shape tag row, then that action does not appear on any smart tag menus or shortcut menus.
  • If several smart tag rows have the same TagName value, they will all show the same actions.

To reference the TagName cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

Actions.name.TagName
where Actions.name is the name of the Actions row

To reference the TagName cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionAction

Row index:

visRowAction + i
where i = 0, 1, 2...

Cell index:

visActionTagName