Using a combobox to select sheets

  • Thread starter Thread starter T De Villiers
  • Start date Start date
T

T De Villiers

Hi,

I have a combobox (stored with worksheet names), whenever I select a
value the sheet will be selected.

Many Thanks
Tariq
 
Are you asking a question? Perhaps:

If combobox1.ListIndex <> -1 then
Worksheets(Combobox1.Value).Select
End if

You might need to qualify Combobox1 depending on where it is.

--
Regards,
Tom Ogilvy


"T De Villiers" <[email protected]>
wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top