L
lizweiman
LizW Jul 20, 2:20 pm show options
Newsgroups: microsoft.public.word.vba
From: "LizW" <[email protected]> - Find messages by this author
Date: 20 Jul 2005 11:20:58 -0700
Local: Wed,Jul 20 2005 2:20 pm
Subject: Need Some Kind of On Enter code
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
I'm working with Microsoft Word. I've created a macro that brings in an
Autotext entry with a SEQ number. What comes up is this:
REQUEST FOR ADMISSION 1:
At that point I want to type out a paragraph but when I press Enter, I
want to bring in this autotext entry which also has a sequence number
RESPONSE 1:
I can do them as separate macros with a keyboard shortcut, but that is
still a lot of work.
It would be great just to be able to press a shortcut key and the first
entry comes in...and then when I press Enter the next comes in ... and
when I press enter, the first one comes back (it will now show a 2) and
so on.
I would also need a way of stopping it, other than Ctrl Break!
I'm new to VBA but I can't imagine this code would be hard to add to an
existing recorded macro.
Any help would be greatly appreciated.
Newsgroups: microsoft.public.word.vba
From: "LizW" <[email protected]> - Find messages by this author
Date: 20 Jul 2005 11:20:58 -0700
Local: Wed,Jul 20 2005 2:20 pm
Subject: Need Some Kind of On Enter code
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
I'm working with Microsoft Word. I've created a macro that brings in an
Autotext entry with a SEQ number. What comes up is this:
REQUEST FOR ADMISSION 1:
At that point I want to type out a paragraph but when I press Enter, I
want to bring in this autotext entry which also has a sequence number
RESPONSE 1:
I can do them as separate macros with a keyboard shortcut, but that is
still a lot of work.
It would be great just to be able to press a shortcut key and the first
entry comes in...and then when I press Enter the next comes in ... and
when I press enter, the first one comes back (it will now show a 2) and
so on.
I would also need a way of stopping it, other than Ctrl Break!
I'm new to VBA but I can't imagine this code would be hard to add to an
existing recorded macro.
Any help would be greatly appreciated.