property XMLGrid.VisibleNodeCount as Long
Specifies the number of visible nodes.

TypeDescription
Long A long expression that indicates the number of visible nodes.
The VisibleNodeCount property specifies the number of visible nodes. Use the NodeByPosition property to access a node by its position. Use the Visible property to hide a node. Use the Expanded property to expand or collapse a node.

The following sample displays the list of visible nodes:

With XMLGrid1
    Dim i As Long
    For i = 0 To .VisibleNodeCount - 1
        Dim n As EXMLGRIDLibCtl.Node
        Set n = .NodeByPosition(i)
        Debug.Print n.Name
    Next
End With