Appendix B, ShapeSheet Section, Row, and Cell Indices

Appendix B, ShapeSheet Section, Row, and Cell Indices

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This appendix lists sections, rows, and cells that appear in the ShapeSheet® window for shapes, styles, pages, and documents. It also lists the corresponding index constants that you can use in a program to access sections, rows, and cells with Automation, plus index constants you can use to access tab settings.

To find the value of a constant, use the Object Browser in the Visual Basic Editor. When a constant is selected in the Members Of list, the Details pane displays the value of the constant. To show the ShapeSheet window for an object, click the object, and then click Show ShapeSheet on the Window menu.

Tip For quicker access to the ShapeSheet window, on the Tools menu, click Options. Click the Advanced tab, and then select the Run in developer mode check box under Developer settings. When you run in developer mode, the Show ShapeSheet command appears on an object's shortcut menu when you right-click the object.

Sections are listed alphabetically, and cells are grouped by section. In sections that have a variable number of rows, such as the Actions section, rows are indexed using the row constant as a base. To refer to a particular row, add an integer offset to the row index constant, starting with zero (0) for the first row. To reference a cell in a particular row, use the same integer in the cell name. For example, use Actions.Action[i].

For details about using cell references in formulas, see the Microsoft Visio Developer Reference (on the Help menu, click Developer Reference). For details about accessing cells from a program, see Chapter 17, Automating Formulas.

In this appendix…

Section, Row, and Cell Indices for Shapes

Section, Row, and Cell Indices for Styles

Section, Row, and Cell Indices for Pages

Section, Row, and Cell Indices for Documents

Tab Cells and Row Types