• --SQL Server and call xp_cmdshell to modify/re-massage/rename/move/.. your xls file.

    how do you do this? i am using xp_cmshell to output data from a sql table to different tabs in excel. I only get the last set of data in the cursor in the first tab