• Mail merge and decimals (2003)

    Author
    Topic
    #456583

    hello help

    I am trying to merge examination results from an excel workbook as a mail merge in Word 2003. The merge works well except that the merge field contains many decimal places whereas I require the nearest whole number. I have formatted the data in Excel every way I can think of but the decimal problem still persists. I have browsed for solutions and have attempted the use of switches to no avail. I presume I’m not applying the correct switches. Any help would be appreciated.

    Viewing 1 reply thread
    Author
    Replies
    • #1141461

      Hey Bandido… long time no speak!! smile

      Try these two links. I’m sure they will correct your error…

      http://wordprocessing.about.com/od/usingma…t/NPFSwitch.htm%5B/url%5D
      http://kb.seattleu.edu/oit/article.aspx?id=10316%5B/url%5D

    • #1141485

      Happy new year, Rob!

      Also see post 641,008.

      For whole numbers, you can use the switch

      # "0"

      or if you would like to include the thousands separator

      # "#,##0"

      • #1141544

        Happy New Year to you all.

        I still cannot get it to work. I must be applying the switches incorrectly. After toggling field codes and inserting the switch, this is how it appears:

        {MERGEFIELD “AutoMergeField”/# “0” }

        What am I doing wrong?

        Many thanks

        • #1141545

          You need to use a backslash, and I’d insert a space before it:

          { MERGEFIELD "AutoMergeField" # "0" }

          • #1141547

            Hi Hans

            Still no joy. I’ve included a before and after screen shot. I must be doing something very silly!

            • #1141548

              Have you updated the field (F9) or actually performed the mail merge?

            • #1141549

              nope

              bullseye . It’s working. Thanks so much, Hans (and of course, Rudi.)

      • #1145912

        Hans –

        As usual, you had the answer for a problem that has been causing me to tear my hair out. Thanks so much, not only from me, but also from my hairdresser and my husband. hailpraise

        Lee Morgan

    Viewing 1 reply thread
    Reply To: Mail merge and decimals (2003)

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

    Your information: