共用方式為


Table.Rows Property

Word Developer Reference

Returns a Rows collection that represents all the table rows within a table. Read-only.

Syntax

expression.Rows

expression   A variable that represents a Table object.

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example deletes the second row from the first table in the active document.

Visual Basic for Applications
  ActiveDocument.Tables(1).Rows(2).Delete

See Also