Results 1 to 7 of 7
  1. #1
    Star Lounger
    Join Date
    Feb 2008
    Posts
    99
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Using Field "REF" without formatting

    I have been playing with the REF field function, and it works nicely. But I currently have a need for it to not be so "complete".

    REF works to copy everything inside the bookmarked text, including changes in fonts, indentations, and the like.

    I would like it to work more like the Paste Special Text Only function, in that it only copies the verbiage. Is that possible?
    [I have been here for years; I had to get things restarted]

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    Display your field codes using Alt+F9. Change the \* MERGEFORMAT switch to \* CHARFORMAT.

    See Fields in Microsoft Word.
    Charles Kyle Kenyon
    Madison, Wisconsin

  3. The Following User Says Thank You to Charles Kenyon For This Useful Post:

    JohnD1 (2015-10-22)

  4. #3
    Star Lounger
    Join Date
    Feb 2008
    Posts
    99
    Thanks
    12
    Thanked 0 Times in 0 Posts
    And thank you for the Fields lesson reference.

    I still have one problem, that I cannot find in your reference. Adding the \* CHARFORMAT switch did almost everything I wanted, with one exception. Sometimes the bookmarked text is indented using the "Indent" command. This carries over into my REF text.

    Indeed, checking with the Paragraph formatting, all the paragraph changes are carried over. Is there a way to tell REF to ignore paragraph formatting?
    [I have been here for years; I had to get things restarted]

  5. #4
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    Sorry. I don't know what the Indent command is.
    If you can, prepare a sample document showing the problem and attach it to a post.
    To attach something, you need to click on Go Advanced and then click on the paperclip icon.
    Charles Kyle Kenyon
    Madison, Wisconsin

  6. #5
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts
    The REF field will carry over paragraph formatting only if you've included one or more paragraph breaks in the bookmarked range. There is no switch to prevent that.
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  7. #6
    Star Lounger
    Join Date
    Feb 2008
    Posts
    99
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Thanks, and a bit of a Bronx Cheer to Microsoft.

    I thought I had stumbled on a wonderful way of shortening the reports that I do. Unfortunately in one the section of the report the paragraph formatting is different from the other section.

    Ah well, back to cut & paste.
    [I have been here for years; I had to get things restarted]

  8. #7
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts
    You could use multiple bookmarks that don't include paragraph breaks, then cross-reference each and add whatever paragraph formatting you require at the cross-reference.
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  9. The Following User Says Thank You to macropod For This Useful Post:

    Charles Kenyon (2015-10-29)

Posting Permissions

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