I do not think you will be able to use a name with an invalid file extension for export, however, you can rename after export. For example:
[tt]FileName = "omtctr_brc.mth.20060401.gz"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "tblTable1", "ExpXLS.xls"
Name "ExpXLS.xls" As FileName[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.