Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-04-2017, 06:34 AM
wvdh wvdh is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Oct 2017
Posts: 2
wvdh is on a distinguished road
Default Conditional Text without Mail Merge


Hello,

I would like to insert a drop down YES/NO Box and when choosing YES, 5 additional formatted pages should be added in the middle of the document (not anywhere near the drop box)...

Who has an easy, Mail merge-free, guidance?
Reply With Quote
  #2  
Old 10-04-2017, 02:48 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,353
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

You could use a dropdown formfield for the Yes/No options. Then, wherever you want some conditional content to appear you might use a field coded along the lines of:
{IF{REF Dropdown1}= "Yes" "Conditional content for Yes" "Conditional content for NOT Yes (i.e. the default"}
or:
{IF{REF Dropdown1}= "Yes" "Conditional content for Yes" {IF{REF Dropdown1}= "No" "Conditional content for No" "Conditional content for neither Yes nor No (i.e. the default"}
where Dropdown1 is the dropdown formfield's internal bookmark name.

The conditional content with either construction can include multiple paragraphs, tables and images.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. The spaces represented in the field constructions are all required. You will need to apply 'filling in forms' protection for the process to work.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 10-05-2017, 01:26 AM
wvdh wvdh is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Oct 2017
Posts: 2
wvdh is on a distinguished road
Default

I believe I did this, but it isn't working...
The formfield is bookmarked...any other steps I need to do to make sure it works?
Reply With Quote
  #4  
Old 10-05-2017, 02:38 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,353
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

For a simple demo, see: http://www.msofficeforums.com/word/1...html#post46429
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
I know nothing about mail merge, but need help with conditional statements briyosa Word 1 03-27-2017 10:17 PM
Mail Merge Formatting Issue with Conditional IFs robbeh Mail Merge 5 07-08-2014 07:39 AM
Conditional Mail Merge per Student and Quarter marysilvaramos Mail Merge 1 01-29-2013 07:17 PM
Mail merge conditional adress blocks. Thrizian Mail Merge 2 07-17-2012 10:41 PM
Conditional merge fields in mail merge Aude Mail Merge 1 01-06-2012 07:38 PM


All times are GMT -7. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft