K
Kathy Collingswood
I've previously asked about using an AutoCorrect entry to open a
UserForm or invoke some code. I have a feeling that this may not be
possible, but have an idea that would simulate it.
Could someone please sketch out the code for:
As I'm typing a document, instead of typing the next word in the
sentence, I type the name of a macro.
After the last character of the macro name I just typed, I press a
function key, or an Alt+SomeLetter combination.
At that time, Word deletes the previously-typed macro name from the
document and invokes a macro having the same name as the
previously-typed-but-now-erased word. (This would either insert text
at the cursor, or open a userform. The fields in the userform would
then be put into a string that would insert some canned text at the
cursor.)
If you can make any sense out of what I just wrote, please head me in
the right direction ...
TIA
UserForm or invoke some code. I have a feeling that this may not be
possible, but have an idea that would simulate it.
Could someone please sketch out the code for:
As I'm typing a document, instead of typing the next word in the
sentence, I type the name of a macro.
After the last character of the macro name I just typed, I press a
function key, or an Alt+SomeLetter combination.
At that time, Word deletes the previously-typed macro name from the
document and invokes a macro having the same name as the
previously-typed-but-now-erased word. (This would either insert text
at the cursor, or open a userform. The fields in the userform would
then be put into a string that would insert some canned text at the
cursor.)
If you can make any sense out of what I just wrote, please head me in
the right direction ...
TIA