Clear

WorksheetCollection.Clear method

Clear all worksheets.

public void Clear()

Remarks

A workbook must contains a worksheet.

See Also