I have a TreeView within a UserForm in Excel.
When a Node is selected from the TreeView, a ListBox is populated with data.
When an item in the ListBox is double-clicked, a separate UserForm is shown which allows the user do to stuff.
Once the user returns back to the TreeView UserForm, I want the Node that was selected previously to be highlighted.
The problem is that the UserForm basically resets itself, and I can't figure out how to select a Node with VBA.
I'm at the point where I'm debating on whether or not I can just manually fire a NodeClick event, as everything else I've tried has failed.
Any tips?