Workbooks Members (Excel)

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

Methods

Name

Description

Add

Creates a new workbook. The new workbook becomes the active workbook.

CanCheckOut

True if Microsoft Excel can check out a specified workbook from a server. Read/write Boolean.

CheckOut

Returns a String representing a specified workbook from a server to a local computer for editing.

Close

Closes the object.

Open

Opens a workbook.

OpenDatabase

Returns a Workbook object representing a database.

OpenText

Loads and parses a text file as a new workbook with a single sheet that contains the parsed text-file data.

OpenXML

Opens an XML data file. Returns a Workbook object.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Count

Returns a Long value that represents the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Item

Returns a single object from a collection.

Parent

Returns the parent object for the specified object. Read-only.