Share via


Table.Cell Method 

Returns a Cell object that represents a cell in a table.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Row As Integer
Dim Column As Integer
Dim returnValue As Cell
Dim table1 As Table
returnValue = table1.Cell(Row, Column)

Syntax

Function Cell( _
    <InAttribute()> ByVal Row As Integer, _
    <InAttribute()> ByVal Column As Integer _
) As Cell
Cell Cell(
    [In] int Row, 
    [In] int Column
);
public: Cell^ Cell(
    Int32 Row, 
    Int32 Column
);
public Cell Cell(
    /*in*/int Row, 
    /*in*/int Column
);
function Cell(
     Row : int, 
     Column : int
) : Cell;

Parameters

  • Row
    Required Integer. The number of the row in the table to return. Can be an integer between 1 and the number of rows in the table.
  • Column
    Required Integer. The number of the cell in the table to return. Can be an integer between 1 and the number of columns in the table.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Table Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Table Members