This documentation is archived and is not being maintained.

SortKey Cell (Actions Section)

Office 2007

A number that determines the order of actions that appear on a shortcut or smart tag menu.


The actions on a smart tag or shortcut menu appear on the menu sorted from lowest to highest, with lower numbers appearing at the top of the menu. If two action rows have the same SortKey cell value, the order is determined by physical row order. The default is 0 (zero).

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

Cell name:
where is the name of the Actions row

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

Section index:


Row index:

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

Cell index: