HI!, I am trying to import an excel file to an Access table using the following code, but I am getting "Run-time error '31519':You cannot import this file" error.
I am using Access 2003 database.
Please kindly help me what to do. Any help would be greatly appreciated. Thanks in Advance.
Code:
Function Import_ExcelFile() DoCmd.TransferText acImportDelim, , "ImportedData", "C:\ExportFile\Test_file.xls", True End Function
Please kindly help me what to do. Any help would be greatly appreciated. Thanks in Advance.
Comment