+ Reply to Thread
Results 1 to 4 of 4

Excel Mail Merge - Rounding issue

  1. #1
    Registered User
    Join Date
    08-14-2010
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel Mail Merge - Rounding issue

    Hi all, thanks in advance for any help... we use an Excel workbook to store information about small loans, and calculate a monthly payment by dividing the total due by the number of months. However, when we print the merged info sheet from Word, it expands that dollar amount to 12 decimal places, even though the cells are formatted as 2 and we use the ROUND function in the formula itself to limit to 2 places. Any ideas how to force Word to truncate back to 2 places? Thanks!

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Excel Mail Merge - Rounding issue

    Hello Devillocks, welcome to the forum.

    You can use a format switch in your merge field

    {Mergefield MyNumber \# #.###.00 }

    cheers,

  3. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Excel Mail Merge - Rounding issue

    Bit late but FWIW I tend to use this approach which pulls the formatting through from the Excel file and saves time.

    http://wordprocessing.about.com/od/u...t/exceldde.htm

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  4. #4
    Registered User
    Join Date
    08-14-2010
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel Mail Merge - Rounding issue

    Thanks heaps~! Those codes did the trick. I'm using 2007 here, so I couldn't find the equivalent to the Tools menu for your option Domski, but that's a neat trick that I can use at home. Cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1