My macro Outputsto an Excel format. BUT IT CHANGES THE NAME OF THE FIELD from TID to Expr1 as if the field wer not define in the table. however, the field TID DOES exist in the table. The output even includes data from the query. Does anyone have an idea about how to Force the Query to outputthe field to the Exxcel format.
DoCmd.SendObject acQuery, "qryTIDExport", acFormatXLS, "tid@championfactorydirect
.com", "", "", "TID Exports", "Here is the TID Export from " & strTableName & " . Please rename the file to " & strTableName & ".xls before saving. ", True, ""
Start Free Trial