I have an excel that exports from another program. Unfortunately, the source includes leading spaces in some of the column headers. I have the following command to import to a specific table with similar headers:
DoCmd.TransferSpreadsheet acimport, acspreadsheetTypeExcel12XML, "tblA", Me.fldA, True
[Me.fldA is a field with a browse button that drops the file name into that field.]
Since Access doesn't allow for a leading space in the table headers, is there an alternative? (I was thinking either a special character that represents a space or an edit of the xls before import)
DoCmd.TransferSpreadsheet acimport, acspreadsheetTypeExcel12XML, "tblA", Me.fldA, True
[Me.fldA is a field with a browse button that drops the file name into that field.]
Since Access doesn't allow for a leading space in the table headers, is there an alternative? (I was thinking either a special character that represents a space or an edit of the xls before import)