Partager via


Cells Interface

A collection of Cell objects in a table column, table row, selection, or range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("0002094A-0000-0000-C000-000000000046")> _
Public Interface Cells _
    Inherits IEnumerable
'Usage
Dim instance As Cells
[GuidAttribute("0002094A-0000-0000-C000-000000000046")]
public interface Cells : IEnumerable

Remarks

Use the Cells property to return the Cells collection.

Use the Add method to add a Cell object to the Cells collection. You can also use the InsertCells method of the Selection object to insert new cells.

Use Cell(row, column), where row is the row number and column is the column number, or Cells(index), where index is the index number, to return a Cell object.

See Also

Reference

Cells Members

Microsoft.Office.Interop.Word Namespace