Macro to lookup value in closed workbook and return multiple cell values

overclock

New Member
Joined
May 24, 2019
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hello Mr. Excel gurus!

I've searched for hours for a solution with no luck. Sometimes I can cobble a macro together but this is out of my league.


I have a file with a value in cell A4 that I need to lookup on tab "Sch H" in a closed file (X:\Folder\file.xlsx) and return the values in that row for columns CO, DQ, DR, EB, EH, EV, and FC. The closed file has some circular references (not my doing), is around 30 megs, and has probably fifty tabs. So it would be best to not have to open the file if possible.


Can one of you VBA masters please help me with a macro or point me in a direction where I could modify an existing one? Like I said, I have searched but couldn't find anything like what I am looking to do.


Thank you for your assistance.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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