I have a saved import and export, created using the wizard that allows me to save the backup information as an Excel 2007 file. I cannot, however, determine how to do this with VBA using the “docmd.TransferSpreadsheet”
I tried the following, but the resulting file cannot be opened
I had tried dropping of the "Xml" from the acSpreadsheet, but that resulted in a binary Excel file. While this does work for the purposes of backing up the data, using the built in export keeps the formatting which, in my opinion, makes it look more professional and polished.
Thanks in advance
-Huey
I tried the following, but the resulting file cannot be opened
Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "Master", "C:\CA-CRL Access\CA-CRL Database", True
Thanks in advance
-Huey