Solved

How format number fields in a mail merge document

Posted on 2014-01-29
1
545 Views
1 Endorsement
Last Modified: 2014-02-01
I have some number fields appearing in a mail merge document.  The data is coming from a MS Access database and in the database I have the fields formatted like xxx.xx (two decimals.

But in the mail merge document fields they appear as you see them in the attachment.

Somehow I want them to appear as number with two decimals and also appear flush right.

How do I do this?
MergeFields.jpg
1
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 39819370
You can use Word field formatting switches.

Switch to field code view with the Alt+F9 toggle so that

<<MyField>>

looks like
{ MERGEFIELD MyField }

Then add the switch
{ MERGEFIELD MyField  \# ,#.00}
You can then use the toggle to hide the field codes again.

To flush right, select the cells and choose the alignment from the group in the Table Tools/Layout tab
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question