VLOOKUP across multiple sheets on closed workbook

otictac1

New Member
Joined
Jan 14, 2008
Messages
49
Hello everyone,

I am working on a VB project that I need to vlookup some data from some workbooks. My first thought was just to copy the sheets to my current workbook and use this helpful function:

Vlookup. Excel Vlookup Across Excel Worksheets. Custom VLookup Formula/Function

To do the vlookuping across all the sheets. However, this is getting to be problematic. The Excel files that I am copying are each over 25 MB and it is really taking the macro a long time to run.

Anyone have any suggestions as to how to accomplish this vlookuping without copying all the data over to the new workbook.

I need to be able to look across 6 or 7 sheets for the thing I am using vlookup on. There will only be one of each entry so I don't have to worry about multiples. I also can't be certain at runtime how many worksheets are on the books that I was previously copying so I need something that looks through all the sheets in a given workbook.

Anyone have any suggestions for this?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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