Reply
 
Thread Tools Display Modes
  #1   Report Post  
KGates
 
Posts: n/a
Default Format Problem with Merged Data

Hi...

I'm trying to merge data from an Access db to a Word Document. The data is
formatted correctly in Access, but it loses all the formatting when merging
to word. It's not a typical format; it should be xx-xxxxxx (x's being
numbers). It's eliminating the dash, and I can't seem to figure out how to
code the format text so that the dash is included. I've gone to the gmayor
website, but this problem is just unique enough, I can't seem to figure it
out. Any suggestions?
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Use the following formatting switch

\# "##'-'######"

--
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
"KGates" wrote in message
news
Hi...

I'm trying to merge data from an Access db to a Word Document. The data
is
formatted correctly in Access, but it loses all the formatting when
merging
to word. It's not a typical format; it should be xx-xxxxxx (x's being
numbers). It's eliminating the dash, and I can't seem to figure out how
to
code the format text so that the dash is included. I've gone to the
gmayor
website, but this problem is just unique enough, I can't seem to figure it
out. Any suggestions?



  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default

KGates wrote:
Hi...

I've gone to the gmayor website, but this
problem is just unique enough, I can't seem to figure it out.


There's an almost identical issue shown under US zip codes on my web page
http://www.gmayor.com/formatting_word_fields.htm The only difference is
that the dash is in a different position in the string

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



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
Printing mail merged data heaveyd2 Mailmerge 1 March 22nd 05 09:01 PM
Mail merge data source problem campwes Mailmerge 1 January 25th 05 07:16 PM
Text cut off in merged document when very long field data charlene leblanc Mailmerge 0 January 17th 05 06:03 PM
Mailmerge in Word, date format in merged doc brownsox Mailmerge 2 January 14th 05 12:29 PM
How do I insert and format part of a data field in a Word document Graham Blundell Microsoft Word Help 4 December 1st 04 02:51 PM


All times are GMT +1. The time now is 11:45 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"