From: Maxx on
Hello all,
I have a gui with a listbox, which is generated from extracting data in the form of filenames from an Excel Sheet. When you make a selection the several functions are called that plot the data from images saved under the filename. Since the path will change with the selection, can I tell my function to go the folder of the selection on my network?

Something like...
setpath('C:\Program Files\blah\blah\'variable'\blah\blah')

The data is organized in folders with the same name and in the same order (alphabetically) as it appears in the Excel Sheet. This leads me to believe I can set the variable equal to the sting selected in the listbox handle. Any ideas would be greatly appreciated.
Thanks
Maxx
From: Maxx on
I figured it out. If anyone wanted to know how reply and I'll post it.
Maxx