On 27-Feb-05, at 1:25 PM, Lennox Jacob wrote:
Thanks Terry,
Worked flawlessly.
Would really appreciate some help with PC printing too.
I'll look into it later. Bedtime now.
BTW, do you understand *how* the following expression works?
If (asc(Key)<32 and asc(Key)>48) or asc(Key)>57 then
Beep
Return True
End if
It's really quite important that you do for things like this.
In this case, you only want the allowed ranges of Chr(0) to Chr(31)
[Control Keys] and Chr(48) to Chr(57) [Numbers].
Hint: If you read it from left to right, it really shouldn't work.
Terry
PS. You can contact me off list if you prefer.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|