Whenever I use Application.InputBox() I bring up VBA Help to remind me which Type to use:
Sub MAIN()
Dim s As String
s = Application.InputBox(Prompt:="enter data", Type:=2)
End Sub
Does there exist, or can I create an Enumeration for Type so I could code like:
Sub MAIN()
Dim s As String
s = Application.InputBox(Prompt:="enter data", Type:=vbString)
End Sub
It would be easier for me to remember an Enumeration rather than an arbitrary integer.
