Cells.Add Method 

Adds a cell to a table.

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

Usage

Dim BeforeCell As Object
Dim returnValue As Cell
Dim cells1 As Cells
returnValue = cells1.Add(BeforeCell)

Syntax

Function Add( _
    <InAttribute()> Optional ByRef BeforeCell As Object _
) As Cell
Cell Add(
    [In, Optional] ref object BeforeCell
);
public: Cell^ Add(
    &Object^ BeforeCell
);
public Cell Add(
    /*in*/System.Object BeforeCell
);
function Add(
     BeforeCell : Object
) : Cell;

Parameters

  • BeforeCell
    A Cell object that represents the cell that will appear immediately to the right of the specified cells.

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

Cells Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Cells Members