Closed Thread
Results 1 to 4 of 4

Mail Merge Issue!

  1. #1
    Registered User
    Join Date
    06-30-2007
    Posts
    51

    Question Mail Merge Issue!

    I'm trying to sort a mail-merge out importing figures from an xls to word but for some reason the figures are showing lots and lots of decimal points upon merging. Thus ruining the word doc.

    The format in the xls is number and set to 2 decimal points. When you click on an individual cell, it shows numerous decimal points in the formula bar where I'm assuming is what the merge function is picking up.

    I tried manually overtyping each cell to 2 decimal figures but still made them massively decimal-pointyised!

    Is there any way I can 'convert' the data with lots of decimal points to 2 decimal points? This is most frustrating!

    Thanks in anticipation :o)

    See link below for posted picture...

    Click Here!
    Last edited by carlosbourn; 06-30-2007 at 08:34 AM.

  2. #2
    Registered User
    Join Date
    06-30-2007
    Posts
    51
    Right - I've figured out how to amend the 'Field Code' in MS Word to show...

    { MERGEFIELD "Hull" \# "0.00" }

    By inserting "0.00" it restricts the numerical format to 2 decimal points. Woo!

    However, does anyone know what sort of format would I have to apply to insert a comma after every thousand? i.e. 207,354.78

    Thanks!

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211
    Quote Originally Posted by carlosbourn
    Right - I've figured out how to amend the 'Field Code' in MS Word to show...

    { MERGEFIELD "Hull" \# "0.00" }

    By inserting "0.00" it restricts the numerical format to 2 decimal points. Woo!

    However, does anyone know what sort of format would I have to apply to insert a comma after every thousand? i.e. 207,354.78

    Thanks!
    =(1-LOOKUP(C1,{"A","B","C"},{0,0.1,0.15}))*D1

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thread closed for cross posting. Please read forum rules below. If you agree to them then PM me and I will unlock the thread

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

Closed 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