Cannot get repeat values from Combo Box

wilster98

New Member
Joined
May 11, 2016
Messages
20
I am working on a user-form that provides a list of vendor addresses to be entered in the active cell. Once the "Enter Address" the choice in the combo box remains visible, but the value will not enter a second time. There are times when the report this userform uses will need 12 duplicate addresses. It would be ideal for the operator to just click the "Enter Address" button 12 times, but when I click the button the second time its as if there is no value in the combo box I've included a snippet of the code as well as pictures of the userform and snippet from the report.

Thanks in Advance
Willy


VBA Code:
Private Sub cmdEnter_Click()
Dim strValue As String
    Dim n As Integer
    strValue = cboList.Value
    ActiveCell.Offset(1, 0).Select
End Sub
 

Attachments

  • UserForm.PNG
    UserForm.PNG
    6.6 KB · Views: 2
  • Form2.PNG
    Form2.PNG
    25.8 KB · Views: 2

Some videos you may like

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Watch MrExcel Video

Forum statistics

Threads
1,127,560
Messages
5,625,506
Members
416,115
Latest member
Gonzo5711

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
Top