Hi, appoligise for the double post... :/ can't find the other one...
Can anyone tell me why this doesn't work... its a brand new workbook, nothing else at all in it. The debug print returns the value of the input box just fine, but the message box is always blank
Can anyone tell me why this doesn't work... its a brand new workbook, nothing else at all in it. The debug print returns the value of the input box just fine, but the message box is always blank
Code:
Public inputvalue As Long
Sub testing()
inputvalue = InputBox("Please enter value")
Debug.Print inputvalue
Call messageformat
End Sub
Sub messageformat()
MsgBox (inputvaluve)
End Sub
</PRE>
Last edited: