G
Guest
Further to my attempts to expand "t" into "000", I've been experimenting with
the OnChange property to call a macro.
As I suspected, it makes typing slow. Maybe too slow, I haven't decided yet.
Unexpectedly, it also seems to not fire in a wide variety of circumstances.
In order to make the code as generic as possible, I made a macro that calls
a public function in a module -- I've used this successfully in the past for
similar problems. In order to figure out which control is being _Changed, I
used...
Set currentControl = Screen.ActiveControl
After some playing about, I have found that this is returning null! I don't
see how this is possible, considering it's that control that fired the macro.
Any ideas?
Maury
the OnChange property to call a macro.
As I suspected, it makes typing slow. Maybe too slow, I haven't decided yet.
Unexpectedly, it also seems to not fire in a wide variety of circumstances.
In order to make the code as generic as possible, I made a macro that calls
a public function in a module -- I've used this successfully in the past for
similar problems. In order to figure out which control is being _Changed, I
used...
Set currentControl = Screen.ActiveControl
After some playing about, I have found that this is returning null! I don't
see how this is possible, considering it's that control that fired the macro.
Any ideas?
Maury