Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
thoffman
 
Posts: n/a
Default how to format zip codes (23838-1101) for a merge.

how to format zip codes that have a dash and additional numbers so you can
merge them into a word document. for example 23238-1121
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Debra Dalgleish posted this for a different question:

In the Mail Merge, after you select your Excel file as a data source,
you should see a 'Confirm Data Source' dialog box.
(If you don't see the dialog box, change the setting in Word --
under ToolsOptions, General -- add a check mark to
'Confirm Conversion at Open')

From that list, choose 'MS Excel Worksheets via DDE (*.xls)', and your
formatting will be retained.

If you have to connect through a different source, you can format the
fields in the Word document. For example, to specify a number of decimals:

1. In Word, in the Main Document, press Alt+F9 to view the field codes.
2. Find the field code for the number. It will look something like:
{ MERGEFIELD FieldName }
3. Add a switch, to format the number with two decimal places.
For example:
{ MERGEFIELD FieldName \# "#,##0.00" }
4. Press Alt+F9 to hide the field codes.
5. Save the Main Document

(I bet you could modify it for your situation.)

thoffman wrote:

how to format zip codes that have a dash and additional numbers so you can
merge them into a word document. for example 23238-1121


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to format zip codes [email protected] Excel Discussion (Misc queries) 1 March 7th 05 08:29 PM
how do i format zip codes that lead with a "0" in excel for a wor. execl formatting Setting up and Configuration of Excel 1 February 3rd 05 10:24 PM
Excel format changes as I merge into Word document How can I stop AngieDerbyshire Excel Discussion (Misc queries) 1 January 8th 05 12:19 AM
Mail Merge - format of numbers Rita Halporn Excel Discussion (Misc queries) 4 December 26th 04 01:19 AM
I am not able to format cells for zip codes JMelloman Excel Worksheet Functions 3 December 14th 04 02:24 AM


All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"