UsedObjects interface
Office 2013 and later
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)
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: