Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Help! I am building a Word Template and need to do arithmetic with a REF field. I have tried {={REF X}-1} and {={{REF X}-1}} to no avail. I also tried {IF {REF X} = "Y" "W" "Z"} but that didn't work either. Any ideas? -- Anna Cooper |
#2
![]() |
|||
|
|||
![]()
What does the bookmark X contain - and what is it that is bookmarked.?
Your first example should work if X is a numeric value. Your last example suggests that the content of X is a letter. How do you subtract a number from a letter? If it contains a letter then your conditional version will work. I take it that you are entering the field boundaries with CTRL+F9 ? I would also urge you to use more descriptive names for your bookmarks. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Anna Cooper wrote: Help! I am building a Word Template and need to do arithmetic with a REF field. I have tried {={REF X}-1} and {={{REF X}-1}} to no avail. I also tried {IF {REF X} = "Y" "W" "Z"} but that didn't work either. Any ideas? |