Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-20-2013, 01:14 PM
kckay kckay is offline Merge field source data field Windows 7 32bit Merge field source data field Office 2007
Novice
Merge field source data field
 
Join Date: May 2012
Posts: 6
kckay is on a distinguished road
Default Merge field source data field

I have a project that uses Excel for data capture and then generates a letter based on a Word template.



I have an Excel workbook with a hidden worksheet containing all of the fields and data that I want to populate in a Word template.

I am adding a new field in the Word template to be populated from Excel.

I will modify the Excel workbook to create and populate the data.

I have a bunch of existing Excel workbooks that will not have the new field.

I want to be able to perform a check in the Word template to use the data in the Excel field IF the field exists (new workbooks). If the field does not exist (old workbooks), then use " " in the Word template.

If I write the code as: {IF (MERGEFIELD FacilityName} <> "" "FacilityName" ""} seems like it is looking for the field named FacilityName in my Excel workbook (which may or may not exist).

Is there a way to write what I am looking for in the mergefield code of the Word Template?
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field not showing in Pivot Table Field List kmcovington Excel 0 10-26-2012 10:14 AM
Merge field source data field How can I revise Excel data source in merge? navysalad Mail Merge 6 01-07-2012 06:50 PM
Merge field source data field Mail Merge - If a field is black, take the data from the row below? mikeprent Mail Merge 5 01-05-2012 04:52 AM
Formula to subtract one month from due date field in reminder field ghumdinger Outlook 1 10-01-2011 12:09 AM
Mail Merge data source on network drive Brandi Mail Merge 0 06-13-2010 11:26 AM

Other Forums: Access Forums

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