This documentation is archived and is not being maintained.

Workbooks Interface

A collection of all the Workbook objects that are currently open in the Microsoft Excel application.

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

public interface Workbooks : IEnumerable

Use the Workbooks property to return the Workbooks collection.

Use the Add method to create a new, empty workbook and add it to the collection.

Use the Open method to open a file.

For more information about using a single Workbook object, see the Workbook object.