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)

Usage

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

Syntax

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace

Other Resources

Workbooks Members