A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I create another form field to appear when a certain drop .



 
 
Thread Tools Display Modes
  #1  
Old September 12th, 2004, 11:09 AM
Colleen Prilik
external usenet poster
 
Posts: n/a
Default How do I create another form field to appear when a certain drop .

I am attempting to create a form using the forms editor in work. I have a
few selections in the drop down boxes. Wnen one selection is choosen, I
would like word to pop up another form field next to it(further clarifies the
answer-ie. If "yes" then the next field explains why it is "yes").
  #2  
Old September 12th, 2004, 11:09 PM
Doug Robbins
external usenet poster
 
Posts: n/a
Default

Have a macro that runs on exit from the dropdown formfield that sets the
..Result of a text formfield based on the value of the dropdown. The
following macro does that sort of thing using values stored as autotext
entries:

' Macro created 15-11-97 by Doug Robbins to add the address corresponding to
a drop down name

Set myDrop = ActiveDocument.FormFields("Dropdown1").DropDown
Company = myDrop.ListEntries(myDrop.Value).Name
Address = ActiveDocument.AttachedTemplate.AutoTextEntries(Co mpany).Value
ActiveDocument.FormFields("Text1").Result = Address


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"Colleen Prilik" Colleen wrote in message
...
I am attempting to create a form using the forms editor in work. I have a
few selections in the drop down boxes. Wnen one selection is choosen, I
would like word to pop up another form field next to it(further clarifies
the
answer-ie. If "yes" then the next field explains why it is "yes").



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange stLinkCriteria behaviour on command button Anthony Dowd Using Forms 3 August 21st, 2004 03:01 AM
Enter data in 1 text form field & have multiple locations filled i James General Discussion 4 August 12th, 2004 10:02 PM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM
NUMBERING the pages Bob New Users 7 June 14th, 2004 12:20 AM
drop down form field miskmh New Users 1 May 15th, 2004 06:03 AM


All times are GMT +1. The time now is 09:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.