Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2014, 04:45 AM
alanpaulwilson alanpaulwilson is offline ASK REF and IF Windows 7 64bit ASK REF and IF Office 2010 64bit
Novice
ASK REF and IF
 
Join Date: Nov 2014
Location: Yorkshire
Posts: 2
alanpaulwilson is on a distinguished road
Default ASK REF and IF

Hi. I'm new here and would really appreciate your help.



I want word to ask a question, then depending on the response (Y/N), print a specified paragraph of text from the same document, or exclude it if the condition is not met.

I have tried the above commands but cannot get it to work.

Many thanks
Reply With Quote
  #2  
Old 11-12-2014, 06:24 PM
macropod's Avatar
macropod macropod is offline ASK REF and IF Windows 7 64bit ASK REF and IF Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could use a field coded as:
{QUOTE{ASK Print "Print the paragraph?}{IF{REF Print \* Caps}= "Y" "Your conditional Text goes here"}}

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 practicable to add them via any of the standard Word dialogues. You will also need to have the 'Update fields before printing' option checked.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-13-2014, 02:17 AM
alanpaulwilson alanpaulwilson is offline ASK REF and IF Windows 7 64bit ASK REF and IF Office 2010 64bit
Novice
ASK REF and IF
 
Join Date: Nov 2014
Location: Yorkshire
Posts: 2
alanpaulwilson is on a distinguished road
Default Thanks

Many thanks
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 08:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft