The Columns and Rows Properties
The Columns property returns a Columns collection that represents all the table columns in the range, selection, or table. The properties and methods of the Columns collection are:
|
Add |
Delete |
Parent |
|
Application |
DistributeWidth |
Select |
|
AutoFit |
First |
SetWidth |
|
Borders |
Item |
Shading |
|
Count |
Last |
Width |
|
Creator |
NewEnum |
and those of the Column object are:
|
Application |
Cells |
Index |
|
AutoFit |
Creator |
IsFirst |
|
Borders |
Delete |
IsLast |
|
Next |
Select |
Sort |
|
Parent |
SetWidth |
Width |
|
Previous |
Shading |
Similarly, the Rows property returns a Rows collection that represents all the table rows in the range, selection, or table. The properties and methods of the Rows collection are:
|
Add |
Delete |
LeftIndent |
|
Alignment |
DistributeHeight |
NewEnum |
|
AllowBreakAcrossPages |
First |
Parent |
|
Application |
HeadingFormat |
Select |
|
Borders |
Height |
SetHeight |
|
ConvertToText |
HeightRule |
SetLeftIndent |
|
Count |
Item |
Shading |
|
Creator |
Last |
SpaceBetweenColumns |
and those of the Row object are:
|
Alignment |
HeadingFormat |
Parent |
|
AllowBreakAcrossPages |
Height |
Previous |
|
Application |
HeightRule |
Range |
|
Range |
Delete |
LeftIndent |
|
Borders |
Index |
Select |
|
Cells |
IsFirst |
SetHeight |
|
ConvertToText |
IsLast |
SetLeftIndent |
|
Creator |
LeftIndent |
Shading |
|
Delete |
Next |
SpaceBetweenColumns |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access