well, i was able to get the text to convert to a table but it is not seperating out the city, state and zip into seperate fields. i knew this was not going to be easy. i guess i will have them go through and edit the excel worksheet to make the updates that were made in the word merge document.
thanks again for your help.
Mike
I think if your city, state zip layout is the standard US one you may be
able to use the following sequence of find/replaces in conjunction with
Graham's article (you need to do the following before you convert to the
table) to get a bit closer - you may need to modify the sequence to suit
your data, which I appreciate isn't easy but it's probably worth a try.
First, you need to uncheck
Tools|AutoCorrect|"AutoFormat as you Type"|"Replace as you type"|"Straight
quotes with smart quotes"
and
Tools|AutoCorrect|AutoFormat|"Replace as you type"|"Straight quotes with
smart quotes"
Then, you need to make sure all the lines end in the same character (I use a
paragraph mark here). If they end in line feeds, do a replace of ^l by ^p.
In the Find/Replace dialog box, check the Wildcard option then do the
following finds/replaces, where the first line of each pair goes inthe Find
What and the second goes in the Replace With box.
^13([!,^13]@),([!0-9]@)([0-9]@)^13^13
^p\1^p\2^p\3^p?^p
@^13
^p
,^13
^p
^13 @
^p
^13
",^p"
,^13"?",
nothing
,^13
,
--
Peter Jamieson - Word MVP
Word MVP web site http://www.mvps.org/word
> well, i was able to get the text to convert to a table but it is not seperating out the city, state and zip into seperate fields. i knew this
was not going to be easy. i guess i will have them go through and edit the
excel worksheet to make the updates that were made in the word merge
document.
> thanks again for your help.
> Mike
Graham Mayor - 08 Jan 2004 07:49 GMT
If Peter's suggestion doesn't work and you wish to post a page of your
labels to me, I will see if I can spot the problem.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail gmayor@mvps.org
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
> I think if your city, state zip layout is the standard US one you may
> be able to use the following sequence of find/replaces in
[quoted text clipped - 47 lines]
>> thanks again for your help.
>> Mike
Mike - 08 Jan 2004 15:11 GMT
Thank you. I have to go into a meeting but i will try it when i get back.
thanks again for the suggestions.
Mike
Mike - 08 Jan 2004 20:51 GMT
So close here. I completed the first set up instructions. When i try any of the find/replace items in the previous post, it says 0 found. Here is a sample of what the file looks like at this point
Vox Axxxxtt xxxxxxxx Kixxxlle, MO 6350
Dxxxis E Dexxxd Acxxn 907 W Mxxxde Dr Fulton, MO 6525
Jexxe W Adxxr 433 Wxxst xxle xve Ursa, IL 6237
Axxxxxn xF Axxs 2267 Hxxy 1xxxx Philadelphia, MO 6346
xxde E xxxms 33085 N Ix xxxx Rd Stover, MO 6507
Jxxxl A Axs 26655 Sxe Hxxxxxy OO Bevier, MO 6353
xxx E xxxxxon 1407 Vxxxy Hannibal, MO 6340
Lorxxxxxnxxe xxxlt 3270 Sxxxte Rxe Vxx Glasgow, MO 6525
sorry i had to change the names & addresses but i hope this helps
Mike - 08 Jan 2004 21:26 GMT
I think i got it figured out. i just did a simple replacement of , with ^t to seperate the city & State and then I did a similar thing for the zip code. luckily, this document has all zip codes that start with 6 with a few exceptions
thanks for the help & direction
Mik