Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2008

Tip: Looking for answers? Try searching our database.

convert mailmerge field from text to number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank - 20 Feb 2008 15:35 GMT
I have a mailmerge field that is defined in the database as text, but I want
to use  numeric formatting (the field will always contain a number string).  
How do I convert the data type in the mailmerge field so that the numeric
formatting will apply?
Peter Jamieson - 20 Feb 2008 18:07 GMT
In many cases, if it looks like a number, Word will treat it like a number,
e.g. if you try

{ MERGEFIELD mynumbertext \#0.00 }

or whatever, it may work. If not, try wrapping the MERGEFIELD field up in an
{ = } field, e.g.

{ ={ MERGEFIELD mynumbertext } \#0.00 }

If neither of those works for you, which version of Word, which database,
and are your numbers simple whole numbers (1), whole numbers with decimal
points (1.2), oe what? You may have trouble with things like "1,234.56" and
"1E-2" in your data source.

Signature

Peter Jamieson
http://tips.pjmsn.me.uk

>I have a mailmerge field that is defined in the database as text, but I
>want
> to use  numeric formatting (the field will always contain a number
> string).
> How do I convert the data type in the mailmerge field so that the numeric
> formatting will apply?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.