eric86vabeach
New Member
- Joined
- Jan 29, 2014
- Messages
- 23
hello im working on a userform in excel i would like to have a combobox that has the words "yes" and "no" then after the user picks "yes" then it would take the textbox187.value * 4 (it needs to times it by 4) then it puts the value in emptyrow, 26 ...... OR if the user picks "no" then it would take the textbox187.value * 4 (it needs to times it by 4) then it puts the value in enptyrow, 27
If Me.ComboBox26.Value = "YES" Then
Me.ComboBox26.Value = Int(Me.TextBox187.Value) * 4
Cells(emptyRow, 26).Value = Me.ComboBox26.Value
If Me.ComboBox26.Value = "NO" Then
Me.ComboBox26.Value = Int(Me.TextBox187.Value) * 4
Cells(emptyRow, 27).Value = Me.ComboBox26.Value
End If
this is what i have tryed but its not working plz help me !!!
thanks for your time
eric
If Me.ComboBox26.Value = "YES" Then
Me.ComboBox26.Value = Int(Me.TextBox187.Value) * 4
Cells(emptyRow, 26).Value = Me.ComboBox26.Value
If Me.ComboBox26.Value = "NO" Then
Me.ComboBox26.Value = Int(Me.TextBox187.Value) * 4
Cells(emptyRow, 27).Value = Me.ComboBox26.Value
End If
this is what i have tryed but its not working plz help me !!!
thanks for your time
eric