I have a 3 combo boxes each with numbers that are to be selected.
when trying to sum the values of the combobox using vba it does not work. Can any1 help. My code is below:
I get a runtime error 6 overflow message. Whatever that means!
when trying to sum the values of the combobox using vba it does not work. Can any1 help. My code is below:
Code:
Private Sub Submit_Click()
Dim Total As Single
Total = (Me.combobox1.Value) + (Me.combobox2.Value) + (Me.combobox3.Value)
MsgBox (Total)
End Sub
I get a runtime error 6 overflow message. Whatever that means!