This may be simple, but I haven't figured it out yet (not much experience with tree objects).

I have a tree object in a subform. I am deleting a node from the tree, but before I do, I do a "Set NextNode = objTree.SelectedItem.Next", which correctly identifies the next node after the deleted node.

After I delete the node and repopulate the tree, I try to do a "Set objTree.SelectedItem = NextNode", but the cursor does not seem to get set to that spot in the tree.

So, my question is this: If I have a node in a tree identified, how do I force the cursor to be set to that location (and have it displayed, in case it is currently scrolled out of view)?

Thanks!

AzJazz