Data Validation - Drop Down for User Form

W

wx4usa

I have my user form working fine now. Next question, how do I add a
drop down - data validation to the fields in the user form? Is this
possible in Excel? I have 2007.

Thank you!
 
C

Chip Pearson

Data Validation is a function of the Excel UI and isn't available as
such on UserForms. However, you can put a drop down combobox on the
UserForm and set the Style property to 2 - fmStyleDropDownList. This
will prevent the user form entering any value that is not in the list.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 
W

wx4usa

DataValidationis a function of the Excel UI and isn't available as
such on UserForms.  However, you can put a drop down combobox on the
UserForm and set the Style property to 2 - fmStyleDropDownList. This
will prevent the user form entering any value that is not in the list.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
    Excel Product Group
Pearson Software Consulting, LLCwww.cpearson.com
(email on web site)

Hi Chip, Thanks for the feedback. How do I input values for teh Drop
Down combo box on the form?
 

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