IPanes.Count [Property][Get]
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the number of Panes in this collection.
Defined As
-
[VBA] Long Count
-
[Cicode] INT Count
-
[C++] int Count
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