CellRange Interface

A collection of Cell objects in a table column or row. The CellRange collection represents all the cells in the specified column or row. To use the CellRange collection, use the Cells keyword.

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

Syntax

'Declaration
<GuidAttribute("914934C8-5A91-11CF-8700-00AA0060263B")> _
Public Interface CellRange _
    Inherits Collection
'Usage
Dim instance As CellRange
[GuidAttribute("914934C8-5A91-11CF-8700-00AA0060263B")]
public interface CellRange : Collection

Remarks

Although the collection object is named CellRange and is shown in the Object Browser, this keyword is not used in programming the Microsoft PowerPoint object model. The keyword Cells is used instead.

You cannot programmatically add cells to or delete cells from a PowerPoint table. Use the AddTable(Int32, Int32, Single, Single, Single, Single) method with the Table object to add a new table. Use the Add method of the Columns or Rows collections to add a column or row to a table. Use the Delete method of the Columns or Rows collections to delete a column or row from a table.

See Also

Reference

CellRange Members

Microsoft.Office.Interop.PowerPoint Namespace