Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CellRange Interface
Collapse the table of content
Expand the table of content

CellRange Interface

Office 2010

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)

[GuidAttribute("914934C8-5A91-11CF-8700-00AA0060263B")]
public interface CellRange : Collection

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.

Show:
© 2015 Microsoft