I am new to Microsoft Access , currently i have a macro written in VB. it has to import Excel sheet to Access table. But when i try to browse & select the file , when i click run, it will always show that .
Runtime error 2391 , "Field 'Part Number' not exist in the table 'tblavl.' .
The command is as below.
DoCmd.TransferSpreadsheet acImport, 8, "tblAVL", txtImport.Text, True, "A:Z"
Hope you can help to give me some advice..
rgds.
Runtime error 2391 , "Field 'Part Number' not exist in the table 'tblavl.' .
The command is as below.
DoCmd.TransferSpreadsheet acImport, 8, "tblAVL", txtImport.Text, True, "A:Z"
Hope you can help to give me some advice..
rgds.