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.

Word does imports just the first column of a CSV data set

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AlexanderGross - 27 Apr 2006 15:05 GMT
Hi all,

I've encountered a problem importing CSV data into Word to create a
mailmerge. After selecting the CSV file as the data source a window pops up
that suggests to use the OLE DB provider for the selected file type. When
clicking the OK button, the next window asks me about the column delimiter.
After selecting "Comma" and clicking OK the same window appears again and
asks me about the delimiter again. After a second try selecting "Comma", the
data source is set up. However, just the first column of the CSV dataset is
imported. No matter what information is placed in the first column, it's the
only one that's imported.

I've reconstructed this behavior on two machines, both with all Windows XP
Professional and Office 2003 patches applied. Word reports 11.6568.6568 SP2
as the version number.

A possible workaround is to import the CSV into Excel, saving the Excel
sheet and use it as the data source of the mailmerge document.

Best regards,

Alex
Peter Jamieson - 27 Apr 2006 16:32 GMT
Try checking the "Show All" box in the "Confirm Data Source dialog, then
selecting "Text Files (*.txt)" instead of the OLEDB option. This is (I
think) the option Word actually uses if you uncheck Word
Tools|Options|General|Confirm conversion at open" before opening the data
source, and the option should really be listed for .csv data sources.

> When
> clicking the OK button, the next window asks me about the column
[quoted text clipped - 3 lines]
> the
> data source is set up.

FWIW, I don't know why Word does that, but it always does in my experience.
What's more, despite the fact that it does save the delimiter when you save
the document, it asks again when you open it.

> However, just the first column of the CSV dataset is
> imported. No matter what information is placed in the first column, it's
> the
> only one that's imported.

Here, multi-column .csv s do work. If my first suggestion does not work,
then there must be something else out of the ordinary: are you using an
unusual encoding perhaps, or do you have "unusual" characters in your column
naes?

Peter Jamieson

> Hi all,
>
[quoted text clipped - 34 lines]
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=eceee358-37f9-4
dc0-9f5a-e99d44a735b9&dg=microsoft.public.word.mailmerge.fields
 
AlexanderGross - 27 Apr 2006 16:56 GMT
Hi Peter,

> Try checking the "Show All" box in the "Confirm Data Source dialog, then
> selecting "Text Files (*.txt)" instead of the OLEDB option. This is (I
> think) the option Word actually uses if you uncheck Word
> Tools|Options|General|Confirm conversion at open" before opening the data
> source, and the option should really be listed for .csv data sources.

Show All->*. txt actually does the trick. Thank you very much! Who thinks
TXT is equal to CSV when it comes to importing data? Weird.

I've also tried to unchecking Tools|Options|General|Confirm conversion at
open and it also worked like a charm. This is even a better approach because
I don't have to remember to select text files.

Thanks again,

Alex
 
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.