Units property
Indicates the unit of measure associated with a Cell object.
Version added
3.0
Syntax
| |
intRet |
Integer. The units associated with a cell's current value. |
object |
Required. An expression that returns a Cell object. |
Remarks
The Units property can be used to determine the unit of measure currently associated with a cell's value. The various unit codes are declared by the Visio type library in member VisUnitCodes. For example, a cell's width might be expressed in inches (visInches) or in centimeters (visCentimeters). In some cases a program might behave differently depending on whether a cell's value is in metric or in imperial units.
For a list of valid unit codes, see About units of measure.