Reputation: 57
I'm supposed to add two merge fields using formula and it's throwing syntax error
This is what i am trying to add
I've tried the bookmark thing I've tried using ctrl+f9 for brackets I've tried inserting merge fields using menu and manually using ctrl f9 I've tried integer merge fields and decimal merge fields In short, i have read so many blogs and tried all the possible solutions
Upvotes: -1
Views: 1108
Reputation: 13515
That is to be expected, because Word is trying the evaluate the mergefields, not their results. Previewing the merge or executing it should generate the correct result. If there is the possibility that either field will be empty, you can either:
Hence, either:
Note that the '\# 0.00' numeric switch allows for up to two decimals. For other numeric formatting options see: Mailmerge Number & Currency Formatting in Mailmerge Tips & Tricks page at: https://www.msofficeforums.com/mail-merge/21803-mailmerge-tips-tricks.html
Upvotes: 0