Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.newusers
William Millspaugh
 
Posts: n/a
Default where to insert code in dropdown box?

I have 2 templates, one of them has some dropdowns with a yes or no
selection. What I need to know is where does this code go... I need this
dropdown to automatically bring up another document if the answer is
"yes".......

If ActiveDocument.FormFields("DropDown1").result = "Yes" Then
Documents.Add ("TemplateName.dot")
End If

I know it needs to relate to the dropdown box in the doc. Could someone
explain...

Thanks alot. Bill


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the HTML code back to WYSIWYG? miggols99 Microsoft Word Help 3 October 30th 08 05:46 AM
The insert command has stopped working in all my Office productsd CWhit Microsoft Word Help 16 April 15th 06 05:13 PM
Mail Merge Field window should remain open to insert multiple fiel Steinway60 Mailmerge 1 July 20th 05 04:08 PM
Insert a file into a merge field kim Mailmerge 1 July 18th 05 05:13 PM
UPC BAR CODE davek Microsoft Word Help 4 March 22nd 05 11:16 PM


All times are GMT +1. The time now is 11:17 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"