Lookup and Transfer data from 1 file to another

Celticfc

Board Regular
Joined
Feb 28, 2016
Messages
152
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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,214,976
Messages
6,122,543
Members
449,089
Latest member
davidcom

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