How to automate the vlookup that fetch data from different folder and file.

AniEx

New Member
Joined
Dec 5, 2020
Messages
3
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Sir and all Excel enthusiast. It would be helpful if please help in Vba program

Requirement: I need to fetch data unsing vlookup from different work ketp in different folder.

Can any help me to automate this task using VBA code.

Thanks in advance.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Saurabhj

Active Member
Joined
Jun 6, 2020
Messages
413
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

Kindly share more details and if possible upload the sheet.

From description, seems you would like to fetch data from workbooks available in other folders.

Thanks,
Saurabh
 

AniEx

New Member
Joined
Dec 5, 2020
Messages
3
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Absolutely correct.

Example : 2 file is there
1 : emp id
2: emp name

both are kept in different folder

1: D:\Study\Excel VBA .. ( in this file i.e emp id file, I want to fetch the emp name here)
2: D:\Study\Excel VBA \Test (Emp name file, from this file i requred the emp name)


I need to do vlookup in emp id file to fetch the name from from the emp name file. which consume more time to open.
So I want this process to be automate.

Your help is highly appreciate Sir
 

AniEx

New Member
Joined
Dec 5, 2020
Messages
3
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi,

Kindly share more details and if possible upload the sheet.

From description, seems you would like to fetch data from workbooks available in other folders.

Thanks,
Saurabh
Absolutely correct.

Example : 2 file is there
1 : emp id
2: emp name

both are kept in different folder

1: D:\Study\Excel VBA .. ( in this file i.e emp id file, I want to fetch the emp name here)
2: D:\Study\Excel VBA \Test (Emp name file, from this file i requred the emp name)


I need to do vlookup in emp id file to fetch the name from from the emp name file. which consume more time to open.
So I want this process to be automate.

Your help is highly appreciate Sir
 

Saurabhj

Active Member
Joined
Jun 6, 2020
Messages
413
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi, there are lots of assumptions.

Your second file (emp name.xlsx) contains both Emp ID and Emp Name
Your first file (emp id.xlsx) contains only Emp ID.

It would be great if you upload your files in a drive and share the location.

Thanks,
Saurabh
 

Watch MrExcel Video

Forum statistics

Threads
1,129,587
Messages
5,637,242
Members
416,963
Latest member
samfuge

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
Top