Listbox search for sheet

yabbadabba

New Member
Joined
Mar 26, 2011
Messages
20
Hi guys,
I have a userform with 2 listboxes,1 textbox and one comand button. The first listbox has a list of sheet names in it (sheets are hidden). The 2nd listbox has list items in it.
What i am trying to workout is, i wanting the user to do is to make a selection from the first listbox (list of sheetnames), and a selection from the 2nd list box(items) and when the comand button is used it will search the sheet for the item and return the data in the textbox.
I hope someone can help me i've been racking my brain on this one for a while now.
cheers,
Mark
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi Andrew,
I will have a code that will search the sheet for the data, basically all i need help with is using the listbox to find and select the sheet.
 
Upvote 0

Forum statistics

Threads
1,207,091
Messages
6,076,522
Members
446,211
Latest member
b306750

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