I have a routine that imports ODBC data using:
DoCmd.TransferDatabase acImport, "ODBC Database", !ConnectString, acTable, !SourceTable, !LocalTableName, False
The problem is sometimes I need to manually select File>Get External Data>Import, select ODBC from "Files of Type"...