Cell.ColumnIndex Property
Word Developer Reference |
Returns the number of the table column that contains the specified cell. Read-only Long.
Syntax
expression.ColumnIndex
expression A variable that represents a Cell object.
Example
This example creates a table in a new document, selects each cell in the first row, and returns the column number that contains the selected cell.
Visual Basic for Applications |
---|
|
This example returns the column number of the cell that contains the insertion point.
Visual Basic for Applications |
---|
|
See Also