Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / July 2003

Tip: Looking for answers? Try searching our database.

Forms, Entry, and Exit Macros

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jesse - 11 Jul 2003 15:05 GMT
I am using a drop-down field in a form and attempting to
toggle between two different macros depending upon what
the user selects from the dropdown. There are only two
items in the dropdown. I want a specific macro to execute
for each selection.

Word, currently enables selecting only a macro to run upon
entry and another macro upon exiting the field. Is there a
way to toggle and execute a specific macro in this form
depending upon the drop-down selection?

Thanks

Jesse
Word Heretic - 13 Jul 2003 06:20 GMT
G'day "Jesse" <jbartlett@sparton.com>,

I think Selection.Formfields(1) returns the current formfield which
you could then query for its value.

"Jesse" <jbartlett@sparton.com> was spinning this yarn:

>I am using a drop-down field in a form and attempting to
>toggle between two different macros depending upon what
[quoted text clipped - 10 lines]
>
>Jesse

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email:      word_heretic@yahoo.com.au  
Products:   http://www.geocities.com/word_heretic/products.html
Spellbooks: 728 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.