If nothing is entered in A1, what do you want the data validation on B1 to be?
If I understand the sequence of events you want:
The user enters anything in A1
A dialog box comes up requireing the user to choose between "Low", "Mid", "High" and "Firm"
The chosen value will be put in B1
C1 will be the product of A1 with .25, .5, .75 or 1, depending on the value in B1.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim userInput As String
If Target.Address = "$A$1" Then
If IsNumeric(Target.Value) Then
Do
userInput = Application.InputBox("Low, Mid, High, or Firm", Default:="Mid", Type:=2)
If userInput = "False" Then
Rem Cancel pressed
Application.EnableEvents = False
Application.Undo
Application.EnableEvents = True
Exit Sub
End If
Loop Until userInput Like "[LMHFlmhf]*"
Application.EnableEvents = False
Range("b1").Value = Application.Proper(userInput)
Select Case UCase(Left(userInput, 1))
Case "L"
Range("c1") = Val(Range("a1").Value) * 0.25
Case "M"
Range("c1") = Val(Range("a1").Value) * 0.5
Case "H"
Range("c1") = Val(Range("a1").Value) * 0.75
Case "F"
Range("c1") = Val(Range("a1").Value)
End Select
Application.EnableEvents = True
End If
End If
End Sub
Bookmarks