Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2015, 05:28 AM
GaryG GaryG is offline IF Statement ASK Fill in Windows 8 IF Statement ASK Fill in Office 2010 32bit
Novice
IF Statement ASK Fill in
 
Join Date: Dec 2015
Posts: 2
GaryG is on a distinguished road
Smile IF Statement ASK Fill in

We have a mail merge formula that uses an IF statement to ask for more information if a lookup matches a particular value.
{IF"Fullname"="Santa Claus"{ASK what"What do you want for Christmas?"\o}{Ref what \*MERGEFORMAT}"}
Whilst it does what we want it to do it asks for the information3 times before it does it i.e. the "What do you want for Christmas?" dialogue box pops up 3 times (not all at once). Any ideas on what is causing this?

Many thanks in advance

Gary
Reply With Quote
  #2  
Old 12-08-2015, 03:09 PM
macropod's Avatar
macropod macropod is offline IF Statement ASK Fill in Windows 7 64bit IF Statement ASK Fill in Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Are you merging from a mailmerge main document, or from a template? The latter is liable to generate extra prompts

There is also no need for the ASK field. Try:
{IF{MERGEFIELD Fullname}= "Santa Claus" {FILLIN "What do you want for Christmas?"\o}}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-09-2015, 08:32 AM
GaryG GaryG is offline IF Statement ASK Fill in Windows 8 IF Statement ASK Fill in Office 2010 32bit
Novice
IF Statement ASK Fill in
 
Join Date: Dec 2015
Posts: 2
GaryG is on a distinguished road
Default

Thanks for the suggestion Macro. I didn't know it was a know problem with templates that multiple prompts could be generated. Is this another one of those things that MS is aware of?
Reply With Quote
  #4  
Old 12-09-2015, 01:39 PM
macropod's Avatar
macropod macropod is offline IF Statement ASK Fill in Windows 7 64bit IF Statement ASK Fill in Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Quote:
Originally Posted by GaryG View Post
Thanks for the suggestion Macro. I didn't know it was a know problem with templates that multiple prompts could be generated. Is this another one of those things that MS is aware of?
Templates used for mailmerge main documents typically generate doubled prompts. This is a long-recognised behaviour. I'm sure MS is aware of it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
mail merge; if; fill-in



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statement ASK Fill in If statement, may be? Tony Singh Excel 6 03-04-2015 12:52 PM
IF Statement ASK Fill in Need help with If, Then Statement Please cangelis Excel 4 01-03-2014 09:10 AM
IF Statement ASK Fill in Nested if field that contains a fill-in field is not prompting for fill-in info Nccadm Mail Merge 2 04-02-2013 03:15 AM
IF Statement ASK Fill in if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
IF Statement ASK Fill in Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:50 PM.


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