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 / September 2004

Tip: Looking for answers? Try searching our database.

Trying to merge a csv file to a word document -- ASAP PLEASE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DH - 14 Sep 2004 20:37 GMT
I am currently working on a database testing project that
is outputting a csv file instead of a spreadsheet with
headers. The csv output is for a mail merge word document
and I need to figure out how to merge the csv file to the
word document to see the csv information -- can some one
help me?
Doug Robbins - 15 Sep 2004 02:12 GMT
Save the csv file as a text file and use that as the datasource.

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

>I am currently working on a database testing project that
> is outputting a csv file instead of a spreadsheet with
> headers. The csv output is for a mail merge word document
> and I need to figure out how to merge the csv file to the
> word document to see the csv information -- can some one
> help me?
DH - 15 Sep 2004 13:56 GMT
I have tried this but I get an error message of
"too few fields" even though the text file is huge.
>-----Original Message-----
>Save the csv file as a text file and use that as the datasource.
[quoted text clipped - 7 lines]
>
>.
Pete Bennett - 16 Sep 2004 13:53 GMT
You'll need to make sure that the data is consistant.  

I've had problems in my CSV files sometimes that the return codes have been
mismatches.  Ones in the middle of multi-line fields were chr(10) and the end
of records were chr(13) + chr(10) and Word ended up throwing out those
records.

Excel seems to be especially good at outputting inconsistant CSV files...

> I have tried this but I get an error message of
> "too few fields" even though the text file is huge.
[quoted text clipped - 22 lines]
> >
> >.
 
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.