![]() |
#1
|
|||
|
|||
![]()
I am new to MERGEFIELD in MailMerge. I am trying to use an If statement to say that if the patient's heart rate is above 80 then make the heart rate Red and bold, otherwise make the heart rate black and not bold. The MailMerge field is called HR.I use the Ctrl and F9 to insert { brackets. The Word doc uses an Excel spreadsheet as its data source.
The syntax I have played about with is: {If {MERGEFIELD HR}>80{MERGEFIELD HR} {MERGEFIELD HR}} However despite various versions of the syntax II keep getting the error message: Error! Unknown op code for conditional. The mergefield is in the cell of a table, although I can't see this has any effect What am I doing wrong? Thanks for any help. ![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Format Bold in one line makes all lines bold | Nitte | Word | 2 | 02-07-2013 12:34 AM |
![]() |
gurp99 | Word VBA | 11 | 03-12-2012 04:05 PM |
![]() |
bostonboi | Word | 1 | 01-16-2011 01:54 PM |
![]() |
galaxy_110 | Word | 1 | 12-31-2010 08:23 AM |
![]() |
GB89 | Word | 1 | 04-15-2010 09:04 PM |