Combo Box

G

Greg B

Hi all,

I have a combobox which shows worksheets that have a certain element in it ,
How do I get it to activate the page selected in the combo box.

the userform is called "formspage"

combobox.1

Thanks in advance

Greg
 
G

Guest

In the code module for the userform:

Private Sub ComboBox1_Change()

Worksheets(ComboBox1.Value).Select

End Sub
 

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

Combobox selection 1
File name 2
ComboBox Dropdown not under control 1
preselecting in combo box 5
combo box 2
Display data in a combo box 9
Row source question. 17
combo box 1

Top