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

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)

[GuidAttribute("000208DB-0000-0000-C000-000000000046")]
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.

Show:
© 2015 Microsoft