Column Width and Row Height Properties

The ColumnWidth property returns or sets the width of the columns in the specified range.

The return value is in units, each of which equals the width of one character in the Normal style. For proportional fonts, the width of the character "0" (zero) is used.

Note that if the columns in the range do not all have the same width, the ColumnWidth property returns Null.

The RowHeight property returns the height of all the rows in the range, measured in points. Note that if the rows in the range do not all have the same height, the RowHeight property returns Null.

0 0

Post a comment