Version

Search Results

WorksheetCollection Class

A collection of worksheets in a workbook. Syntax

WorksheetCollection Class Events

For a list of all members of this type, see WorksheetCollection members. Public Events Name Description CollectionChanged Occurs after items in the collection have been added or removed PropertyChanged Occurs after a property value has changed Top

WorksheetCollection Class Members

Public Properties Public Methods Public Events

Add(String) Method

Creates a new Worksheet and adds it to the collection. Syntax Parameters name The name to give the new Worksheet. Return Value The Worksheet created with the specified name. Exceptions Exception Description System.ArgumentNullException name is null or empty. System.ArgumentException name contains the invalid chara...

Add Method (WorksheetCollection)

Creates a new Worksheet and adds it to the collection. Overload List

Clear Method (WorksheetCollection)

Clears all worksheets from the collection. Syntax Remarks If there are any NamedReference instances in the Workbook.NamedReferences collection with a worksheet for a scope, they will be removed from the Workbook.