Using the Process Analyst > Process Analyst for Developers > Automation Model > IPanes._NewEnum [Property][Get]

IPanes._NewEnum [Property][Get]

This allows For.. Each.. Next integration in VB.

Calling Syntax

This example assumes there is a valid Panes collection object to be passed into the example methods. This property is not applicable to Cicode.

[VBA]

Sub Example(Panes As Object)
Dim pane As Object
Dim count As Long
`Using Property
For Each pane In Panes
count = count + 1
Next pane
End Sub