Vlookup on a closed workbook in the same directory with name "Workbook-DynamicName"

Noobius

New Member
Joined
Sep 12, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,

So after reading some posts it seems I would need to use the Indirect function for the following scenario:

1. on a daily basis as a result of an automation I have a folder generated with files generated with partly static name e.g. "Workbook" and partly dynamic file name e.g. TimeStamp
2. In one of the files I need to do a vlookup to retrieve a value from another CLOSED workbook (I do not want to be opening and closing this workbook as it is heavy)
3. The sheet where I need to retrieve the vlookup values will always have a static name e.g. "Sheet6"
3. The files (the one where I want to use Vlookup and the file to retrieve from) will always be in the same folder every time, but I also have other (excel) files in that folder

How can I reference to the closed "Workbook-DynamicName" sheet 6?

Thanks a lot
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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