VBA to search all sheets of a closed workbook and return value

Lee Francis

New Member
Joined
Apr 2, 2013
Messages
0
Hi Guys,

I hope you can help

I have a list of reference numbers and I need to search these in a closed sheet and return corresponding data. It's just and INDEX & MATCH formula really but where I am falling down with this is that the data could be contained within any one of five sheets in a closed workbook!!!!

I only know how to reference individual sheets so I'm really struggling. Is there a way to search all worksheets and return data from a corresponding cell?

The data I am referencing is a delivery reference number and what I want to return is a comments field for each delivery reference number

Can anyone help with this? Any help would be very much appreciated

Thanks for taking the time to look at my issue

Thanks Guys

Lee.
 

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