![]() |
|
#1
|
||||
|
||||
![]()
Hi legg,
You really shouldn't have different data types in the same fields. Nevertheless, you can use field coding to work around it: {IF«vekttall» < 1 {=«vekttall»*100 \# 0.00%} {=«vekttall» \# 0}} or: {IF«vekttall» < 1 {=«vekttall»*100 \# 0.00%} {MERGEFIELD vekttall \# 0}} Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message. Likewise, you can't type or copy & paste the chevrons (ie '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
fieldmerge percent ifelse |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Eri | Mail Merge | 1 | 03-03-2012 03:03 PM |
Mail Merge to multiple .doc files named after a mergefield | nicnad | Mail Merge | 1 | 02-22-2012 01:59 AM |
![]() |
nicnad | Mail Merge | 1 | 02-22-2012 01:53 AM |
Mergefield date error | michielvanderbiest | Mail Merge | 1 | 04-12-2010 11:22 PM |
Installation Source Corrupted | browneyes | Office | 1 | 01-23-2006 02:33 PM |