pull down the autotext menu with a macro?

J

JustSomeGuy

I'm working with a lot of unsophisticated word users. I've created some
helpful autotext entries for them but would like to not have to teach them
what autotext is, where the menu is, what if it doesn't appear, how to make
it work, etc.

Seems like I could skip all that, if I could create a macrobutton that
would: 1) make sure their autotext menu is visible; and 2) pull the menu
down for them.

All they'd have to do is click on the macrobutton and the autotext menu
items would drop down, ready to be selected. Everything they need would be
just two simple mouse clicks away.

But is it possible to pull down the menu with a macro? It doesn't seem to be
possible when I try to record the action with "record new macro".
 
G

Graham Mayor

Investigate the AutotextList field, a right click on which should achieve
what you require.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

JustSomeGuy

Thank you Graham; an Autotextlist field almost does the trick, but when the
user selects any choice from the autotextlist, the selection immediately
overwrites the autotextlist field itself. Therefore the field is obliterated,
making it impossible for a user to access it again to select a second item,
third item, etc. In this particular usage, the goal is to present the user
with the ability to select one item from the pulldown list, then select
another item, etc. until a certain set of conditions have been satisfied and
the user has built a 'sub-list' from the super-set of autotextlist items.

I thought maybe if the autotext pulldown menu could be invoked from a
macrobutton, it might somehow allow the macrobutton to survive the insertion
of the selection.
 
G

Graham Mayor

You could add the Autotext> command to a custom toolbar which will give you
context sensitive autotext lists based on the paragraph style at the cursor,
beyond that it gets a whole lot more complicated - see
http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top