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 / January 2007

Tip: Looking for answers? Try searching our database.

Word 2002 and Excell 2002 merge issues

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JWKroll - 26 Jan 2007 01:56 GMT
I am running Word 02 and Excel 02. I am using the two to perform a merge for
a basketball program book. I am getting errors when I try to connect to the
spreadsheet. After I select the spreadsheet (saved in .xls format) a box
opens to "select a table". There is nothing in the box to select. The options
button shows that I have selected a table, and the drop down box shows files
I have used previously. I have created a work around, saving the file in a
text format. I can merge, until I reach record 16. "Record 16 contained too
few fields" is the message. This record has the same number of fields as 1-15
did. That message continues up to record 32. Each record may not have every
field filled in, but they have the same number of possible fields.

Thank you for your assistance.

Jim Kroll
Peter Jamieson - 26 Jan 2007 12:55 GMT
When Word 2002 uses an Excel worksheet as a data source, it tries various
different ways of connecting to the worksheet.

First it tries "OLEDB". if it can't connect using that (and there are
various possible reasons why) it usually pops up a "data link dialog box".
But you don't seem to be seeing that.

If OLEDB didn't work, it tries "ODBC". The dialog you describe is the ODBC
dialog, and you have to try to make sure that your database is the one
selected from the drop-down (because it may not be selected at this point).
Unfortunately that's not easy because you usually cna't see the full
pathname in that little box. I sometimes move files into afolder such as
c:\a for test purposes so I can see what's going on. In the ODBC dialog box,
you generally don't see anything until you click the Options... button -
then just select all the checkboxes and your worksheets should then appear
in the list.

If ODBC didn't work, it tries DDE. You would see yet another dialog box with
"Entire spreadsheet" in one of the text boxes if you got that far.

Chances are that the reason Word isn't succeeding with OLEDB is that the
workbook is already open in Excel (close it) or is corrupt. If it's corrupt
and not complex (for example, just has tabular data and no formulas) you can
try exporting each sheet to a .csv format then reconstructing the workbook
by re-importing them.

> I can merge, until I reach record 16. "Record 16 contained too
> few fields" is the message. This record has the same number of fields as
> 1-15
> did. That message continues up to record 32. Each record may not have
> every
> field filled in, but they have the same number of possible fields.

The chances are that record 15 or 16 has a field containing a double-quote
character " (e.g. you might have someone's height in inches in there). As a
workaround, you may be able to wrap that field in double-quotes if it isn't
already, and double up the double-quote.

Or there may be some other "unusual" character in there such as a carriage
return.

If you can't get Word to connect to Excel and you don't have more than 63
columns in your worksheet, you could try copying/pasting your worksheet into
a blank Word document instead, and use that as the data source.

Peter Jamieson

>I am running Word 02 and Excel 02. I am using the two to perform a merge
>for
[quoted text clipped - 17 lines]
>
> Jim Kroll
JWKroll - 27 Jan 2007 04:36 GMT
I saved the file in the .csv format. I then tried to connect this file to my
Word document. The merge starts, but at record 16 I am getting the message
that states there are too few data fields. This message continues from 16 -
32. Finally, the merge is complete (and correct.)

> When Word 2002 uses an Excel worksheet as a data source, it tries various
> different ways of connecting to the worksheet.
[quoted text clipped - 64 lines]
> >
> > Jim Kroll
Peter Jamieson - 27 Jan 2007 09:11 GMT
Did you have a look at this bit?...

>> > I can merge, until I reach record 16. "Record 16 contained too
>> > few fields" is the message. This record has the same number of fields
[quoted text clipped - 15 lines]
>> carriage
>> return.

If you want, despam my email address (delete "killmaps"), send me the .csv
file, and I'll have a look.

Peter Jamieson

>I saved the file in the .csv format. I then tried to connect this file to
>my
[quoted text clipped - 89 lines]
>> >
>> > Jim Kroll
 
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.