Input Box - CANCEL
Try:
Sub test()
Dim varResult As Variant
varResult = InputBox("Input")
If IsNumeric(varResult) Then _
Range("A1").Value = varResult
End Sub
"Danny" wrote:
Hi,
Please edit the macro below so when the user clicks on CANCEL or CLOSE the
box, Range A1 existing input won't change.
Thank you.
|