UsedObjects Interface

Represents objects that have been allocated in a workbook.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[GuidAttribute("00024451-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface UsedObjects : IEnumerable

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.

Show: