>>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.
>
>Works great now. Thanks
You're welcome. And thank you for overlooking my misspelling (Sheesh! "numberic"! I'm getting to old for this.< bg >)
>Mike
>
>P.S. Thanks for the extra info. That was what I was going to work on next.
Well, Larry also mentioned another way to do it. Play with both and see which suits your needs best.
George
Ubi caritas et amor, deus ibi est