Excel VBA Combobox Advice

hayley1988

New Member
Joined
Jul 5, 2015
Messages
5
Hi,
I have a spreadsheet where sheet 1 shows a list of stores and dates. I then have sheet 2, where I have a created a combobox showing the list of stores from sheet 1. I am trying to write a code in sheet 2, where when I click on each store in my combobox it calls up the date from sheet 1 in a particular cell on sheet 2. Can anyone help me?
Thanks very much :)
 
I hope I am asking this in the appropriate place, dont want to start a thread thats already been answered...

I too have two worksheets, (template, and Project Number List), where I have set up the combobox, but I am running into issues I think because I am using both text and numbers. Each project number has been changed to "Text", and the text is also "Text". But, since making it searchable, I can view any of the words when I start typing, but I cannot for the life of me get the numbers to appear when I start searching for them. The cell is linked to the box, and on the project number sheet, I can see the numbers I type pulling up each of the possibilites, but its not showing on the template page.

This is the code I have, for the template sheet:

Code:
Private Sub userform_Initilize()
    ComboBox21.ListFillRange = "DropDownList"
    Me.ComboBox21.DropDown
End Sub


I also have the helper columns, which look to be working great, its just not pulling numbers into the combo box.

Thank you, and if I should not have added this post here, I apologize.
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top