Runtime error 2391

Joined
May 26, 2006
Messages
1
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top