-
InputBox function
I want the precentage raise to be (.05)and multiply it in the form. I've already entered the following code
[vbcode]
Const conPrompt As String = "Enter percentage raise"
Const conTitle As String = "Precentage Raise"
Dim intRaise As Integer
intRaise = Val(InputBox("Enter precentage raise", "Raise"))
End Sub
kazooie21
-
Re: InputBox function
One problem, here. If your variable intRaise is declared as Integer, there is no way for it to contain a value .05. Declare the variable as Single or Double.
Reid Allen Robbins
2205 E. Teton Blvd.
Green River, WY 82935