Very Newby Question -- User Menus

E

EHPorter

I am brand new at Word, after having used Wordperfect for many years. I
have a large number of address macros in WP, and am trying to figure out how
to create something like them in Word. The ones I am having trouble with
are macros which prompt the user for input by providing a list of numbered
choices, and then branch accordingly. In Wordperfect, this is done using
the "Menu" command, as follows:

*****************Sample Wordperfect "Menu" Macro********************
Name = Menu(letter!;;;{"Ronnie";"Laura";"Sarah";"Chuck"})

SWITCH(name)
CASEOF 1: Type("Ms. Veronica Johnson")
CASEOF 2: Type("Ms. Laura Anderson")
CASEOF 3: Type("Ms. Sarah Neill")
CASEOF 4: Type("Mr. Chuck Cauffman")
ENDSWITCH

************************************************

Some basic guidance on how to do this in Word would go a long, long way.

Thanks
 
W

Word Heretic

G'day "EHPorter" <[email protected]>,

You need to create a UserForm and stick a listbox on it. There's some
intro help in the word help system if you flick through the contents
tab.

Steve Hudson
Word Heretic Sydney Australia
Tricky stuff with Word or words

Email: WordHeretic at tpg.com.au


EHPorter was spinning this yarn:
 

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