I found the problem. It appears that whenever there was a difference in cellstyles in a column, the excel file produced would assume that there was a data header row and thus the sort would not include the first row. I worked around this by creating the header row and now I can use cellstyles as intended.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
