![]() |
#1
|
|||
|
|||
![]()
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? |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Field not showing in Pivot Table Field List | kmcovington | Excel | 0 | 10-26-2012 10:14 AM |
![]() |
navysalad | Mail Merge | 6 | 01-07-2012 06:50 PM |
![]() |
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 |