W
ward
Hello,
I would like to trap the _keydown even of a Word VBA form.
This only works if there are no other controls on the
form, because otherwise the focussed control's event is
fired (and not the form's event).
In VB (and Access VBA) a form has .KeyPreview property,
which allows to trap keypresses. But in Word VBA the
property is not there.
How can i trap a keypress on a form with multiple controls?
Ward
I would like to trap the _keydown even of a Word VBA form.
This only works if there are no other controls on the
form, because otherwise the focussed control's event is
fired (and not the form's event).
In VB (and Access VBA) a form has .KeyPreview property,
which allows to trap keypresses. But in Word VBA the
property is not there.
How can i trap a keypress on a form with multiple controls?
Ward