Finding a worksheet
i've done it, but with a lot less sheets:
design a form with the optionbuttons (1 thru 8 in my case) named
optionbutton1, optionbutton2.....)
then when the form loads i just use this to populate the form with the sheet
names:
For i = 1 To 8
Me.Controls("optionbutton" & i).Caption = Worksheets(i).Name
Me.Controls("optionbutton" & i) = False
Next
then the code for each optionbutton can be something like this:
Private Sub OptionButton1_Click()
Worksheets(1).Activate
End Sub
--
Gary
"Patrick C. Simonds" wrote in message
...
I have a workbook which ranges from 40 to 55 worksheets, I thought it would
be helpful if I were to create a UserForm which would list the name of all
available worksheets (by be as a series of OptionButtons). The user would
then select the sheet they wanted to view next from the list and that sheet
would become active. Has anyone seen or done anything like this?
|