I change it also cannot...
It didnt reponse anything nor give any error message...
>"It simply can't run" is not very helpful. What does happen? Do you get
>any error message? Maybe it is running, but not doing what you were
[quoted text clipped - 13 lines]
>> End If
>> End Sub
How do you know it's not running?
Have you set a breakpoint in the routine, and tried stepping through the
code a line at a time,and seeing what values your variables actually
contain, and whether the If condition is true for your data, so that your
message box will be displayed?
Rob
>I change it also cannot...
> It didnt reponse anything nor give any error message...
[quoted text clipped - 16 lines]
>>> End If
>>> End Sub
EMILYTAN - 16 May 2007 09:37 GMT
I tried to put in the wrong data but it cannot run also...
My messagebox didnt appear...
My idea is when once that user key in wrong date, I want the message box to
appear but it didnt show anything...
>How do you know it's not running?
>
[quoted text clipped - 10 lines]
>>>> End If
>>>> End Sub
Rob Parker - 16 May 2007 12:16 GMT
Again, all I can suggest at this time is to set a breakpoint in your code,
and see exactly what is happening. Do you know how to do that, and step
through the code? If so, what happens? Are the values of your variables
what you expect them to be? Does your If statement evaluate as you expect
it to?
Rob
>I tried to put in the wrong data but it cannot run also...
> My messagebox didnt appear...
[quoted text clipped - 16 lines]
>>>>> End If
>>>>> End Sub