Hi i have just upgraded from Access 2000 to Acces 2007. I am using my vba script to export data but for some reason it does not like Access query exporting into excel.
Below is my code
DoCmd.OutputTo acOutputQuery, "qryCustomerSalesAndStockOfferExport", acFormatXLS, "c:\StockOfferLog\CustomerStockSalesAndOffer.xls", False
Can anyone please help me as i am stuck
Thank toy for your help
Below is my code
DoCmd.OutputTo acOutputQuery, "qryCustomerSalesAndStockOfferExport", acFormatXLS, "c:\StockOfferLog\CustomerStockSalesAndOffer.xls", False
Can anyone please help me as i am stuck
Thank toy for your help