Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    May 2003
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a protected word form that has a form field with a bookmark called "subject". The result of this field will dictate whether the subject is singular or plural throughout a multi page document. There is an IF field that states if subject=I then use "me" through document, otherwise use "us".
    I cannot figure out what is wrong with the IF field. It returns "me" regardless of whether I or We is selected in the initial field.
    I've attached a sample of the form. I've tried every combination of spaces, quotes and syntax!
    Thanks in advance for any help!
    [attachment=88890:Sample Form with If Statement.docx]
    Attached Files Attached Files

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Star Lounger
    Join Date
    May 2003
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    After some digging I realize that you need a space before and after the operator. The examples MS gives does not demonstrate this!

  4. #3
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    3,898
    Thanks
    0
    Thanked 188 Times in 172 Posts
    Hi techtrain,

    Putting your 'Subject' bookmark reference in a field, as in {IF{REF Subject}= "I" "me" "us"} will also work and I suspect this is closer to the construction any examples given by MS would look like. Note that with this construction, you still need a space after the '=', but not before it. Since all the expressions are single words, you could reduce the field code to {IF{REF Subject}= I me us}.
    Cheers,

    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •