Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2014, 08:12 PM
Liosis Liosis is offline Mailmerge and Formfields Windows 8 Mailmerge and Formfields Office 2007
Novice
Mailmerge and Formfields
 
Join Date: Mar 2014
Posts: 3
Liosis is on a distinguished road
Default

Hello all,

Here is what I want to accomplish as quickly and easily as possible. I have a mail-merge word document linked to an excel database. I want to condition the checkboxes to fill based on what is in the excel file. For example, if my MERGEFIELD named QUESTION1 = Y then the checkbox form in the word doc should be checked, otherwise it should unchecked. I know I can accomplish this with the {IF {MERGEFIELD QUESTION1} = "Y" "wingding checked" "wingding unchecked"} logic, but that does not accomplish what I want because I need the checkboxes to maintain their functionality even after the merge. I am pre-populating forms for people who will receive them but still need the flexibity to check/uncheck each checkbox. I will use either checkbox (ActiveX or Legacy) if I can get either to work. Please help...it is the only item keeping me from completing the project.
... threads merged ...
When I perform the mail merge to a new document my pre-existing Text Form Fields disappear. If I use ActiveX Text Boxes, they don't disappear like the Legacy Form Fields do...is there anyway to make the Legacy Form Fields behave similar to the ActiveX Text Boxes and stay with the merged doc?



Thanks!

Last edited by macropod; 03-04-2014 at 11:46 PM. Reason: Two related threads merged
Reply With Quote
  #2  
Old 03-04-2014, 11:43 PM
macropod's Avatar
macropod macropod is offline Mailmerge and Formfields Windows 7 32bit Mailmerge and Formfields Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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 can't do that directly via a mailmerge; rather, you need a roll-your-own version that employs a macro to drive the process. See, for example:
http://support.microsoft.com/kb/286841
http://www.gmayor.com/ManyToOne.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-05-2014, 09:36 AM
Liosis Liosis is offline Mailmerge and Formfields Windows 8 Mailmerge and Formfields Office 2007
Novice
Mailmerge and Formfields
 
Join Date: Mar 2014
Posts: 3
Liosis is on a distinguished road
Default

Thanks Macropod...that definitely answers part 2 of my post...my two threads got merged. Any idea on part 1?

Thanks Again
Reply With Quote
  #4  
Old 03-05-2014, 02:15 PM
macropod's Avatar
macropod macropod is offline Mailmerge and Formfields Windows 7 32bit Mailmerge and Formfields Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

The same answer applies to both parts of your merged post. Since you can't insert checkbox formfields via a mailmerge, you'd need the macro that runs the process to toggled their checked/not checked state.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-07-2014, 12:56 PM
Liosis Liosis is offline Mailmerge and Formfields Windows 8 Mailmerge and Formfields Office 2007
Novice
Mailmerge and Formfields
 
Join Date: Mar 2014
Posts: 3
Liosis is on a distinguished road
Default

Got it...thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge and Formfields Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Renaming Word Formfields: string too long error silverspr Word VBA 7 01-22-2013 06:20 PM
Mailmerge and Formfields Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Mailmerge and Formfields Mailmerge dkub Mail Merge 35 12-07-2011 11:35 PM
Help with mailmerge??? foxtrot1981 Mail Merge 0 12-03-2010 08:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:12 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