I am simply trying to loop through the nodes of my treeview control with following code:
For Each n In trvTasks
Debug.Print "Key : ", .Nodes.Item.Key, "Text : ", .Nodes.Item.Text
but I am getting the error :
Compile error - argument not optional - and it highlights the ".Items" section of .Nodes.Item.Key
Any help on guiding me through this would be appreciated.