Cell[U] property

Microsoft Visio Developer Reference

Cell[U] property

See also   Example   

Returns a cell using the name or index of the cell.

Version added

2000

Syntax

objRet = object.Cell(reference)

objRet

A Cell object.

object

Required. An expression that returns a Row object.

reference

Required Variant. The name or index of the cell.

Remarks

The first cell in a row has an index of zero (0).

Note Beginning with Visio 2000, you can refer to Visio shapes, masters, styles, pages, rows, and layers using local and universal names. When a user names a shape, for example, the user is specifying a local name. Universal names are not visible through the user interface. As a developer, you can use universal names in a program when you don't want to change a name each time a solution is localized. Use the Cell property to get a Cell object using its local name. Use the CellU property to get a Cell object using its universal name.