Share via


Cell Interface

Represents a single table cell.

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

Syntax

'Declaration
<GuidAttribute("0002094E-0000-0000-C000-000000000046")> _
Public Interface Cell
'Usage
Dim instance As Cell
[GuidAttribute("0002094E-0000-0000-C000-000000000046")]
public interface Cell

Remarks

The Cell object is a member of the Cells collection. The Cells collection represents all the cells in the specified object.

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.

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 the Add method with the Rows or Columns collection to add a row or column of cells.

Use the Information property with a Selection object to return the current row and column number.

See Also

Reference

Cell Members

Microsoft.Office.Interop.Word Namespace