Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Frank Frank is offline
external usenet poster
 
Posts: 82
Default convert mailmerge field from text to number

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?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default convert mailmerge field from text to number

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.

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

"Frank" wrote in message
news
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?


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert arabic number to english text format? ice Microsoft Word Help 2 February 27th 15 09:39 AM
how to convert field text to normal text? gil Microsoft Word Help 3 December 13th 07 12:07 PM
formula to convert number to text motocrossed Tables 2 August 2nd 07 11:25 PM
How can I get whole text field from Excel source into MailMerge? frankmullis Mailmerge 1 December 30th 06 10:17 AM
Convert Date Field to Text Cardlaw Microsoft Word Help 8 February 9th 06 11:17 AM


All times are GMT +1. The time now is 11:34 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"