I have the following transfer spreadsheet code:
DoCmd.TransferSpreadsheet acExport, , "Reg_Inc_Stmt", _
"Z:\Accounting\SQLDataArchive\Inc_Stmt.xls"
The problem is that Reg_Inc_Stmt needs to be downloaded into the same spreadsheet around 5 times with different data in it each time. When I try this the data is overwritten each time in the first worksheet it creates. I have tried renaming the worksheet but the method still overwrites the data in that one worksheet that was created in the first download. Is there any way to creat separate worksheets for each of the five downloads? Thanks for any help in advance.
Dave
DoCmd.TransferSpreadsheet acExport, , "Reg_Inc_Stmt", _
"Z:\Accounting\SQLDataArchive\Inc_Stmt.xls"
The problem is that Reg_Inc_Stmt needs to be downloaded into the same spreadsheet around 5 times with different data in it each time. When I try this the data is overwritten each time in the first worksheet it creates. I have tried renaming the worksheet but the method still overwrites the data in that one worksheet that was created in the first download. Is there any way to creat separate worksheets for each of the five downloads? Thanks for any help in advance.
Dave