mail merge number format

K

klav

I have a VBA project to merge a lot of word docs with excel charts.

I have an excel chart with a custom format to display millions as "33.5
million" but when I merge it with my word doc, the formatting is lost and the
entire number is displayed "33500000". I know within a main document, you can
specify field formats but I am unable to get this number displayed the way I
want it.

Is there a way either within the merge field coding or within VBA to do this?
 
G

Graham Mayor

If all the numbers are above 1 million, you could use
{ ={ Mergefield Amount } / 1000000 } million

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top