Re: assign cell with value chosen in a combobox
Hi Norie,
Would that work for my example below. Everything works except the combo box called ItemUsedDropDown
Do I code a different event? What dot notation would I use to refer to the actual text selected at time of clicking the button?
Private Sub DateOfIncident_Change()
DateOfIncident.Text = Date
End Sub
Private Sub EnterIncidentButton_Click()
Sheets("Incident Report").Select
Sheets("Incident Report").Range("A4").Value = NameOfPerson.Text
Sheets("Incident Report").Range("B4").Value = DateOfIncident.Text
Sheets("Incident Report").Range("C4").Value = IncidentComment.Text
Sheets("Incident Report").Range("E4").Value = QuantityUsed.Text
Sheets("Incident Report").Range("D4").Value = ItemUsedDropDown.Index
End Sub
Private Sub EnterIncidentButton_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Sheets("Incident Report").Select
End Sub