Workbooks Interface
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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

Public Class orkbooksImplementation
	Implements Workbooks
End Class
Dim orkbooksImplementation1 As New orkbooksImplementation()

Public Interface Workbooks
	Inherits IEnumerable
public interface Workbooks implements IEnumerable
public interface Workbooks implements 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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2016 Microsoft