Solved

How format number fields in a mail merge document

Posted on 2014-01-29
1
557 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

622 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