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 / April 2006

Tip: Looking for answers? Try searching our database.

Formatting data in word label merging, commas into line breaks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
funky Hamsta - 07 Apr 2006 14:57 GMT
When making labels for posting letters, I have a data field in my excel table
which has the address data in the following format:

"   Mr A B Bloggs, 12 Nowhere Raod, Somewhere, Shireshire, SN12 4UP.   "

How can I point word mail merge at this data field and get it to insert a
line break where it sees a comma? so that there format becomes:

Mr A B Bloggs
12 Nowhere Road
Somewhere
Shireshire
SN12 4UP

Any suggestions/solutions greatly appreciated.
Doug Robbins - Word MVP - 07 Apr 2006 19:25 GMT
You cannot do it as part of the mailmerge process.

You should use Edit > Replace on the data source to replace all of the
commas with ^p (paragraph returns)

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> When making labels for posting letters, I have a data field in my excel
> table
[quoted text clipped - 12 lines]
>
> Any suggestions/solutions greatly appreciated.
macropod - 08 Apr 2006 11:28 GMT
Hi,

Word's fields don't support this kind of data manipulation. Your best option
might be to edit the Excel data, by replacing the commas and their trailing
spaces with line feeds. In excel you'd do this via Find/Replace where the
'find' string is a commas and trailing space, and the 'replace string is
ASCII 10 - which you can enter as Alt-010.

Cheers

> When making labels for posting letters, I have a data field in my excel table
> which has the address data in the following format:
[quoted text clipped - 11 lines]
>
> Any suggestions/solutions greatly appreciated.
 
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.