Question : I want to create a report based on a query and then export that report to an existing excel spreadsheet

I can't for the life of me remember how to create a new report based on an existing query but then i would like to be able to open an existing excel spreadsheet and copy that data into the spreadhseet - the reason i need to do this is that by first creating a report it *somehow* converts numbers to number and leaves text as is - does this make sense?

Answer : I want to create a report based on a query and then export that report to an existing excel spreadsheet

7601105166084, clarkscott

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "YourQueryName", "C:\YourFolder\YourExcelFileName.xls"

(For office 2003)


JeffCoachman
Random Solutions  
 
programming4us programming4us