Thread: On Time code
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default On Time code

Don't know where OnTime comes into it, but the test can be

ans = Inputbox("Inut number")
If ans < 23 Then End

--

HTH

RP
(remove nothere from the email address if mailing direct)


"kevin" wrote in message
...
Is there anyway of using the OnTime command which when reached will exit

the
program unless a specific number is inserted into a input box.

Can you advise f the code?

Many thanks.

Kevin.