Results 1 to 5 of 5
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Text in REF field (Word XP)

    I want to add text to a REF field that displays a paragraph number (suppressing non-delimiter characters).

    This is the code for my field (braces created with Ctrl-F9) { REF MyBookmark n t}. I want the result to read "Refer to 1.01"

    How would I add literal text to the field code to achieve this?

    Thanks,
    Richard Barrett

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Text in REF field (Word XP)

    You cannot add literal text to a REF field. You can type the text "Refer to" before the field:

    Refer to { REF MyBookmark n t }

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Text in REF field (Word XP)

    I found that I was able to do this with nested fields:

    { QUOTE

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Text in REF field (Word XP)

    That'll work, but what's the point?

  5. #5
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Text in REF field (Word XP)

    It was a request by the client.

    The abbreviated info that I posted was the question originally put to me. In actuality, we want a field that references a paragraph that is numbered "Section 1.01." But we want the field result to replace Section with a section symbol. The t switch removes Section, but we need to get the section symbol within the field code. I suppose this makes it easier for the user to move the field when necessary without having to pay attention to selecting the bit of text that preceeds it. We'll have a macro that runs through the document and assures that the section symbol code has been added to the appropriate REF fields.

Posting Permissions

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