Solved

How can I eliminate the field calculation error in my mail merge document?

Posted on 2007-12-04
13
1,261 Views
Last Modified: 2012-05-05
I am using a system generated text file as the basis for my mail merge document.  I open the text file in Excel, format the numbers as text (so leading zeros are not lost in the zip code field), create column titles and save the document as an .xls file.  When I merge my Word document to the printer or to a new file, I receive the field calculation error for every record.  

Thanks for the help!
0
Comment
Question by:GFCU
  • 5
  • 5
  • 3
13 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 20404407
What is the merge field and what is the data from Excel that is being read into it?
0
 
LVL 1

Author Comment

by:GFCU
ID: 20404898
The merge fields that I inserted into the merge document are taken directly from the xls file.  Those fields are <<NAME>>, <<ADDR1>>, <<ADDR2>>, <<CITY>>, <<STATE>>, <<ZIP>> and <<ACCT>>.  

Any thoughts?
0
 
LVL 1

Author Comment

by:GFCU
ID: 20405080
I almost forgot, the information in the xls document is just text, no formulas.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 76

Expert Comment

by:GrahamSkan
ID: 20405280
I have seen the error before, but only when calculation is involved.

If the data isn't confidential or can be made unconfidential, you could zip the files and post them here: www.ee-stuff.com

You log on with same credentials as this site. You need to identify the upload with either the URL or the numerical part of this question. After a successful upload you should be shown a URL of the file. Can you copy it in here, please? We will have a look ASAP.
0
 
LVL 1

Author Comment

by:GFCU
ID: 20405593
I uploaded a sampling of the data in the xls document.  Here is the link http://www.ee-stuff.com/Expert/Upload/getFile.php?fid=5985. Thanks!
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 20405910
I note that you have uploaded the spreadsheet. You have removed a column for security and that the Word merge main document isn't included.

...


I have now created a simple main document using all the fields, and I can merge from that without error. Can you upload your main document so we can see if that is the problem, please?
0
 
LVL 7

Expert Comment

by:Etircet
ID: 20406236
Was the main document an existing document?
Make sure the field names in the main document are EXACTLY the same (spaces and sybols included) as the corresponding fields in the Excel file.
0
 
LVL 1

Author Comment

by:GFCU
ID: 20407028
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 200 total points
ID: 20407685
At the end of the first paragraph there is an IF Field which which tests a custom property called "Institution" using a DocProperty field for a value of "Bank". The field currently displays as "share drafts". However the custom property does not exist, hence the field calculation error.
0
 
LVL 7

Expert Comment

by:Etircet
ID: 20407822
Well spotted Graham!
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 200 total points
ID: 20407884
Thanks Etircet.
Perhaps I should have suggested that GFCU do what I did.
With the main document, I hit Alt + F9. This toggles between displaying field results and field codes. It's a lot easier then.
0
 
LVL 1

Author Comment

by:GFCU
ID: 20411094
Alt + F9 took care of it!  Since I did not create the document, I did not realize that there were fields in it.  Thank you both so much for your help!
0
 
LVL 7

Expert Comment

by:Etircet
ID: 20412144
She can also just select all the data in the main document which will make field codes stand out.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Highlight changing numbers in column 3 20
vba to flip column 14 21
Word Personalized Watermarks 5 35
Using SUMPRODUCT with a Date Range 6 21
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question