![]() |
#1
|
|||
|
|||
![]()
I need to create a field which changes based on the location of a bookmark ('CONT' in this example). If the bookmark falls on the next page, it should say 'the following page', otherwise, 'page x'. This is my attempt at doing that here:
If {PageRef CONT} > {Page} + 1 "the following page" "page " {Page} I'm not very familiar with field codes just yet, and, as a programmer, I was expecting some sort of delimiter to separate each section (i.e. the 'true' value from the 'false' value), but that doesn't seem to be how this works. I have tried adding parentheses to group parts together, but that doesn't seem to work either: If ({PageRef CONT} > ({Page} + 1)) "the following page" ("page " {Page}) Can anyone help push me in the correct direction, and give me a working example of what I need to do? Thanks. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copying Raw Field Codes | ptmuldoon | Word | 3 | 01-04-2015 02:50 PM |
![]() |
lucky16 | Word VBA | 2 | 10-24-2014 03:52 AM |
VBA script to update field codes? | Calab | Word VBA | 1 | 04-07-2014 09:27 PM |
Formula Field using Field Codes | hunter2193 | Word | 3 | 04-05-2013 04:58 AM |
![]() |
mkarthic | Word | 1 | 12-02-2011 02:09 AM |