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)
Syntax
'Declaration
<GuidAttribute("000208DB-0000-0000-C000-000000000046")> _
Public Interface Workbooks _
Inherits IEnumerable
'Usage
Dim instance As Workbooks
[GuidAttribute("000208DB-0000-0000-C000-000000000046")]
public interface Workbooks : IEnumerable
Remarks
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.