Gets the number of Panes in this collection.
Defined As
Execution Result
If the property get succeeds, the return value will be Success. If the panes collection is deleted, the return value will be GeneralFailure.
Calling Syntax
This example assumes there is a valid Panes collection object to be passed into the example methods.
[VBA]
Sub Example(Panes As Object)
Dim count As Long
`Getting Property value
count = Panes.Count
End Sub
[Cicode]
FUNCTION Example(OBJECT hPanes)
// Getting property value
INT nCount = _ObjectGetProperty(hPanes, "Count");
END