O'Reilly logo

Writing Word Macros, Second Edition by Steven Roman PhD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required