Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.formatting.longdocs
mzapalova mzapalova is offline
external usenet poster
 
Posts: 1
Default Auto-Hide Content (Filling out forms)


I am creating a form in Microsoft word, which contains a drop down about
mid-way through the sheet. There are 4 selections, and each selection
requires different information to be shown/hidden below.

For example, If I chose "breakfast" in the drop down, i want "eggs",
"bacon", "ham", "other" to show up. If I were to choose "lunch", i want
"turkey", "chips", etc.

Assuming that I have all of my various options written out, how do I
create a "hide content" formula upon the selection of a certain drop
down?




--
mzapalova
  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Auto-Hide Content (Filling out forms)

Create an autotext entry for the menu for each meal and then use for
following code in a macro that you run on exit from the formfield:

' Macro created 15-11-97 by Doug Robbins to populate a text formfield with
the autotext entry
' corresponding to the item selected in a dropdown formfield
'
Dim myDrop as DropDown
Set myDrop = ActiveDocument.FormFields("Meals").DropDown
Meal = myDrop.ListEntries(myDrop.Value).Name
Menu = ActiveDocument.AttachedTemplate.AutoTextEntries(Me al).Value
ActiveDocument.FormFields("Menu").Result = Menu

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"mzapalova" wrote in message
...

I am creating a form in Microsoft word, which contains a drop down about
mid-way through the sheet. There are 4 selections, and each selection
requires different information to be shown/hidden below.

For example, If I chose "breakfast" in the drop down, i want "eggs",
"bacon", "ham", "other" to show up. If I were to choose "lunch", i want
"turkey", "chips", etc.

Assuming that I have all of my various options written out, how do I
create a "hide content" formula upon the selection of a certain drop
down?




--
mzapalova



  #3   Report Post  
Posted to microsoft.public.word.formatting.longdocs
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default Auto-Hide Content (Filling out forms)

See a previous posting that may help you with your requirements:
http://www.microsoft.com/communities...35e&sloc=en-us

Hope this helps
DeanH

"mzapalova" wrote:


I am creating a form in Microsoft word, which contains a drop down about
mid-way through the sheet. There are 4 selections, and each selection
requires different information to be shown/hidden below.

For example, If I chose "breakfast" in the drop down, i want "eggs",
"bacon", "ham", "other" to show up. If I were to choose "lunch", i want
"turkey", "chips", etc.

Assuming that I have all of my various options written out, how do I
create a "hide content" formula upon the selection of a certain drop
down?




--
mzapalova

Reply
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
Filling Out Pre Printed Forms Harvey Microsoft Word Help 1 May 4th 12 05:10 PM
filling out forms Deryl New Users 2 November 7th 07 04:32 PM
Filling Out Pre Printed Forms Dax Arroway Microsoft Word Help 0 August 17th 07 02:03 AM
Filling in forms automatically Robertw New Users 1 June 2nd 07 06:53 AM
Filling in forms slippers Microsoft Word Help 1 December 8th 06 03:57 PM


All times are GMT +1. The time now is 10:32 AM.

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

About Us

"It's about Microsoft Word"