I have the following code below
Sub Input_Data()
I would like the following amended
Range("B3").Value = myValue -this must force the user to only enter a whole number for eg 5000, 6500 etc
Range("F4").Value = myValue -this must force the user to enter a % for eg 30%, 45% etc
Your assistance in this regard is most appreciated
Sub Input_Data()
Code:
Sub Input_Data ()
Dim myValue As Variant
myValue = InputBox("Enter The net income amount")
Range("B3").Value = myValue
myValue = InputBox("Enter Tax rate")
Range("F4").Value = myValue
End Sub
I would like the following amended
Range("B3").Value = myValue -this must force the user to only enter a whole number for eg 5000, 6500 etc
Range("F4").Value = myValue -this must force the user to enter a % for eg 30%, 45% etc
Your assistance in this regard is most appreciated
Last edited: