• Using Field “REF” without formatting

    Author
    Topic
    #502800

    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?

    Viewing 3 reply threads
    Author
    Replies
    • #1534028

      Display your field codes using Alt+F9. Change the * MERGEFORMAT switch to * CHARFORMAT.

      See Fields in Microsoft Word.

      • #1534158

        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?

    • #1534503

      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.

    • #1534508

      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
      [Fmr MS MVP - Word]

      • #1534922

        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.

    • #1534930

      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
      [Fmr MS MVP - Word]

    Viewing 3 reply threads
    Reply To: Using Field “REF” without formatting

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: