I've been working with excel in visual basic .net 2002. The only thing I'm having trouble with is sorting data. What I do in excel is select the entire sheet and sort all the data by one of the columns. I want to do this in visual basic and have had some problems. For one I would like to define the header cell by number something like worksheet.cells(1,5), MSDN gives examples calling the sort function by string. I cannot get the worksheet.range.sort to work for me and I don't even know if this is what I should use.


brwiese