Compartilhar via


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)

Syntax

'Declaration
<GuidAttribute("00024451-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface UsedObjects _
    Inherits IEnumerable
'Usage
Dim instance As UsedObjects
[GuidAttribute("00024451-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface UsedObjects : IEnumerable

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.

See Also

Reference

UsedObjects Members

Microsoft.Office.Interop.Excel Namespace