Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Edison, New Jersey, USA
    Posts
    215
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Cross References... (W97)

    In my header, I placed cross references that that read from the cover of the document. My CR's are: {STYLEREF "Document: Project Name" * MERGEFORMAT} ; {STYLEREF "Document: Qualifying Title" * MERGEFORMAT} I manually entered a ";" between the two, BUT the second reference doesn't always exist and therefore no ";" need exist. Is there a way that I can place the ";" into the cross reference? I've been playing with it and just not figured it out. - jody

  2. #2
    Lounger
    Join Date
    Sep 2002
    Location
    Cleveland, Ohio, USA
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross References... (W97)

    I'm not sure I understand your question fully musical1, but here it goes. Have you tried using bookmarks? Then if a bookmarked area comes up blank, it will automatically put in a blank. I have used this to add my firm name to the second page header as well as a Recipients name, though not using the STYLEREF code. Sometimes a recipients name is not added immediately, and therefore that part of my second page header is left blank.

    I hope this helps.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Edison, New Jersey, USA
    Posts
    215
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Re: Cross References... (W97)

    I can drop that crossreference right between my other 2 references?

    When I try it, It actually returned the value "Document:Qualifying Title". I'm not sure I was following all of your Quotes meanings. - J

  4. #4
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross References... (W97)

    <P ID="edit" class=small>(Edited by Klaus Linke on 01-Oct-02 00:11. corrected a missing quote mark)</P>Hi jody,

    I think you will need an if field.

    Instead of the "; ", use
    <span style="background-color: #FFFF00; color: #000000; font-weight: bold">{ if {styleref "Document: Qualifying Title" } = "" "" "; " }</span hi>
    (if the styleref returns an empty string print nothing, else print "; ")


    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  5. #5
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cross References... (W97)

    Sorry: The style name should be in quotes. Hope it works now? <img src=/S/crossfingers.gif border=0 alt=crossfingers width=17 height=16>

    Word's help has a page with more information; I hope you'll find it if you look for "Field functions: If field".

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

Posting Permissions

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