This documentation is archived and is not being maintained.

DisplayMode Cell (Smart Tags Section)

Office 2007

Determines whether the smart tag appears when the user moves the pointer over the tag, when the shape is selected, or all the time.

ValueDisplay ModeAutomation constant

0

Appears when the mouse is paused over the tag (the default).

visSmartTagDispModeMouseOver

1

Appears while the shape is selected.

visSmartTagDispModeShapeSelected

2

Appears all the time.

visSmartTagDispModeAlways

Remarks

Smart tags do not appear on printed or published output.

If a smart tag is defined for a page, and this cell contains a value of 1, the tag never appears because a page cannot be selected.

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

Cell name:

SmartTags.name.DisplayMode
where SmartTags.name is the name of the smart tag row

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

Section index:

visSectionSmartTag

Row index:

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

Cell index:

visSmartTagDisplayMode



Show: