C
Clif McIrvin
Excel 2003 SP3; XP Pro SP3
Dim r As Range
Set r = Application.InputBox(prompt:="Please enter the range", Type:=8)
The above code throws Runtime error 424, "Object Rquired" when I try it.
The input box comes up, I can select cells with the mouse, which causes
the range address to appear in the input box. The error pops when I
click OK. (The locals window shows r as a range containing nothing.)
Any suggestions?
Dim r As Range
Set r = Application.InputBox(prompt:="Please enter the range", Type:=8)
The above code throws Runtime error 424, "Object Rquired" when I try it.
The input box comes up, I can select cells with the mouse, which causes
the range address to appear in the input box. The error pops when I
click OK. (The locals window shows r as a range containing nothing.)
Any suggestions?