Question: Im using microsoft excel userform vba tool. The goal is to have a userform code that will allow the user to select two criteria, then

Im using microsoft excel userform vba tool. The goal is to have a userform code that will allow the user to select two criteria, then the code will match it to the row information. There will be a message box display with three criteria columns. i need guidence on how to build the code or which demands to use.

Private Sub UserForm_Initialize()

With ComboBox2

.AddItem "Total Population"

.AddItem "Men Population"

.AddItem "Women Population"

.AddItem "Asia Population"

.AddItem "Black or African Population"

.AddItem "Hispanic or Latino Population"

.AddItem "White Population"

End With

With ComboBox1

.AddItem "2005"

.AddItem "2006"

.AddItem "2007"

.AddItem "2008"

.AddItem "2009"

.AddItem "2010"

.AddItem "2011"

.AddItem "2012"

.AddItem "2013"

.AddItem "2014"

.AddItem "2015"

End With

End Sub

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!