I have the following code and I was hoping someone could let me know what I have missed as it gives me an error, saying that it is the wrong data type for one of the arguments.
I'm using Excel and Access 2010. I am just trying to export a table to Excel that will have the Date tacked on at the end of the file name.
Code:DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "tbl_SiebelAlert", "\\MEL21A001PPN\abn\CISC\Siebel Alert\SENT\Add Siebel Alert ", Format(Date, "ddmmyyyy"), True