abdullahsikandar
Board Regular
- Joined
- Feb 10, 2014
- Messages
- 52
Hi,
I need a favor from you guys, I already made a button in Access, I need to import the files from excel through that button on Macro, whenever we click the button it have to be import the excel files in database by matching the two columns.
here is the example
Database:
Col A Col B Col C
A B
CC DD
EW FA
MK SD
Excel Sheet
Col A Col B Col C
A B AA
CC DD AA
EW FA AA
MK SD AA
So when we are importing the file at that point if we found "A" in COL A and "B" in COL B so paste all the data in COL C. Same thing gonna be happen in all the fields
After importing an Excel files it will check for the column to match and import the data. The result will be like this:
Database:
Col A Col B Col C
A B AA
CC DD AA
EW FA AA
MK SD AA
Kindly help me in this query.
Thanks in Advance
I need a favor from you guys, I already made a button in Access, I need to import the files from excel through that button on Macro, whenever we click the button it have to be import the excel files in database by matching the two columns.
here is the example
Database:
Col A Col B Col C
A B
CC DD
EW FA
MK SD
Excel Sheet
Col A Col B Col C
A B AA
CC DD AA
EW FA AA
MK SD AA
So when we are importing the file at that point if we found "A" in COL A and "B" in COL B so paste all the data in COL C. Same thing gonna be happen in all the fields
After importing an Excel files it will check for the column to match and import the data. The result will be like this:
Database:
Col A Col B Col C
A B AA
CC DD AA
EW FA AA
MK SD AA
Kindly help me in this query.
Thanks in Advance