Hi excelnut1954
You can use a Userform with a listbox and add this code in the
userform module.
Note : this code not check for hidden sheets (list all sheets)
Private Sub ListBox1_Change()
Sheets(ListBox1.Value).Select
Unload Me
End Sub
Private Sub UserForm_Initialize()
Dim wks As Worksheet
Dim Wb As Workbook
Set Wb = ThisWorkbook
For Each wks In Wb.Worksheets
UserForm1.ListBox1.AddItem wks.Name
Next
UserForm1.ListBox1.SetFocus
End Sub
If you need more help post back
--
Regards Ron De Bruin
http://www.rondebruin.nl
"excelnut1954" wrote in message oups.com...
I'm writing macros to perform searches. There are multiple sheets the
desired record can be found, based on dates of activity, etc. So, there
will be sheets that will have different names as time goes on.
What I want is to be able to show the user all the sheets available,
then he can click which one he wants to search.
I've written code to perform searches based on picking sheets, but in
those cases, the sheet names will be static. In this new case, the
sheet names will vary over time. That's why I want the list of all the
sheet names to come up.
So, it is possible to: 1) show the user all the sheet names, and 2)
from that list, let him click which one he wants to search in?
Thanks
J.O.