Execution Error

C

Craig

I'm using Excel XP. How come when I run the following
code, I get a "code execution has been halted" error at
the "if y <> False Then" line...

dim y as variant
y = Application.InputBox("Enter beginning Page Number")
If y <> False Then
(Code here...)
Else
Exit Sub
End If

Thanks.
 
Top