The answer in case anyone cares, is that the code was not using the querydef it was using embedded SQL. The OP had modified the querydef but had not modified the embedded SQL in the VBA code, nor the export code.
The procedure could have simply used the TransferText instead of VBA. I modified the querydef to add the field and do the formatting fixes.
I also added Option Explicit. You should change this setting in the Access option to Declare all variables. You will have to add the line to any code module created prior to you changing the setting (Open VBA editor, Tools/Options/Editor). AND you will need to fix any compile errors that exist because your variables were not defined.