hi
i am transferring spreadsheet from Excel to Access table
This works fine as long as column names in Excel do not have periods. (.)
Other then asking whoever is sending this not to put periods, is there painless way ignore that fact that excel has it, un just do it without it ?
i am transferring spreadsheet from Excel to Access table
Code:
pathbgc = Path & "\X.xls"
DoCmd.TransferSpreadsheet acImport, , "tableX", pathbgc, vbYes
pathbgc = Path & "\Y.xls"
DoCmd.TransferSpreadsheet acImport, , "tableY", pathbgc, vbYes
This works fine as long as column names in Excel do not have periods. (.)
Other then asking whoever is sending this not to put periods, is there painless way ignore that fact that excel has it, un just do it without it ?