Excel VBA InputBox
InputBox method in Excel is more useful than the conventional inputBox functions when you require the user to select some range.
It is used as Application.InputBox
The Application.InputBox method differs from the usual InputBox function in that it allows selective validation of the user's input, and it can be used with Microsoft Excel objects, error values, and also formulas.
Application.InputBox calls the InputBox method; InputBox with no object qualifier calls the InputBox function.
MyRange = Application.InputBox("Select the Range?","My Application")
Homerweb Search
Thanks for this subtle but important tip!
ReplyDelete