Cells.NestingLevel Property
Word Developer Reference |
Returns the nesting level of the specified cells. Read-only Long.
Syntax
expression.NestingLevel
expression A variable that represents a Cells collection.
Remarks
The outermost table has a nesting level of 1. The nesting level of each successively nested table is one higher than the previous table.
Example
This example creates a new document, creates a nested table with three levels, and then fills the first cell of each table with its nesting level.
Visual Basic for Applications |
---|
|
See Also