W
Wembly
Hi,
I was wondering if there is a way to check for the value
of a textbox whilst the value is being keyed in? If this
can be done, which event of the textbox must the VBA code
reside in order to check for the value as it is being
keyed in.
I've tried keydon, keyup, keypress, onfocus, beforeupdate,
all to no avail.
It appears that the value is only available once the focus
has moved from the textbox, which is not what I want,
since I want to be able to have the ability to do the
following.
If the textbox has any value in it, it will trigger off an
action, and if the user decides to backspace all the way
until there is nothing in the textbox, it will also
trigger off a different action.
Can this be done?
Thanks.
I was wondering if there is a way to check for the value
of a textbox whilst the value is being keyed in? If this
can be done, which event of the textbox must the VBA code
reside in order to check for the value as it is being
keyed in.
I've tried keydon, keyup, keypress, onfocus, beforeupdate,
all to no avail.
It appears that the value is only available once the focus
has moved from the textbox, which is not what I want,
since I want to be able to have the ability to do the
following.
If the textbox has any value in it, it will trigger off an
action, and if the user decides to backspace all the way
until there is nothing in the textbox, it will also
trigger off a different action.
Can this be done?
Thanks.