Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Indicates the unit of measure associated with a Cell object. Read-only.
Syntax
expression.Units
expression A variable that represents a Cell object.
Return value
Integer
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.