>Hi George,
>
>>ThisForm.MenuTree.Nodes(NodeKey).Expanded = .T.
>
>I found the EXPANDED property in the help file. The example show a numeric value for the node.
Nodes(1).expanded = .T. When I said KEY I meant the KEY I gave it when I added it. i.e. ABA01
>
>How could I now find this numeric value based on the KEY I gave it?
One more thing. If you want the programmatically expanded key to be selected, use ThisForm.MenuTree.SelectedItem = ThisFormMenuTree.Nodes(NodeKey).
One of the reasons, BTW, that I changed your code was to indicate that the NodeKey could be either numberic or character.
George
Ubi caritas et amor, deus ibi est