Maybe an approach like this?I am looking for a macro/formula to place into an input box, I want the user to choose either .5 or 1. I then want that number to be placed in cell A3. I know it sounds easy, but can't figure it out. Maybe it needs to be a different choice?
Sub Test()
Dim Answer As Variant
Do
Answer = Application.InputBox("Please enter either 0.5 or 1.", Type:=1)
If Answer = 0.5 Or Answer = 1 Or Answer = "False" Then Exit Do
Loop
MsgBox "Your input: " & Answer
End Sub
Sub Test()
Dim Answer As Variant
Do
Answer = Application.InputBox("Please enter either 0.5 or 1.", Type:=1)
If Answer = 0.5 Or Answer = 1 Or Answer = "False" Then Exit Do
Loop
MsgBox "Your input: " & Answer
Sheets("Sheet2").Range("A1").Value = Answer
End Sub