UsedObjects Interface

Definition

Represents objects that have been allocated in a workbook.

public interface class UsedObjects : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024451-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface UsedObjects : System.Collections.IEnumerable
Public Interface UsedObjects
Implements IEnumerable
Attributes
Implements

Remarks

Use the UsedObjects property of the Application object to return a UsedObjects collection.

Once a UsedObjects collection is returned, you can determine the quantity of used objects in a Microsoft Excel application using the Count property.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

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

Item[Object]

Returns a single object from a collection.

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()

Applies to