For those who use TreeViews and wish to call a Function to grab the contents of the TreeView into a 1D array, then _GUICtrlTreeView_CreateArray() is for you. It will Return an array with the contents of the TreeView inc. the number of rows. Simply run the Example to get an idea of the output. Thanks...