Has anyone created forms in Excel with drop down boxes?

M

mcdanik

This is the orginal question, Has anyone created forms in Excel with drop
down boxes?
 
B

Bob Phillips

Yes, have you tried, if so what is the problem?

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
L

LisaN

Hi Bob,

I'm looking to create a form in Excel with drop down boxes. How do I go
about doing that?

Tks in advance,
 
B

Bob Phillips

Go to the VBE (Alt-F11)
Insert a userform (Insert>Userform)
Make Sure the toolbox is viewable (View>Toolbox)
Drag a combobox control off of the toolbox onto the form

Populate the DD in code with something Like

Private Sub Userform_Activate()

With Me.ComboBox1
.AddItem "Text1"
.AddItem "Text2"
'.. etc
End With

End Sub

and that's just the start


RP
(remove nothere from the email address if mailing direct)
 

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

Top