Lookup and Transfer data from 1 file to another

Celticfc

Board Regular
Joined
Feb 28, 2016
Messages
153
We have a file with 3000 employees called Database.xlsb thatstores employee ID in Column A.
We also have Local files (i.e. local1.xlsb, local2.xlsbetc.). Each local file can hold up to 200 employees. We would like to transferdata from local files to Database.xlsb.

i.e. in Local file we may have employee AZ19029 in Column A,and his salary in Column B, his Location in Column C etc.

We would like VBA to paste this employee’s salary from localfile to Database file. This would repeat for up to 200 employees.

What is the best methodology to follow? Many thanks.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top