Error when field exceeds 255 chars using ADODB.Recordset with ACE Excel 8 adodb version 6.1

MichaelinSeattle

New Member
Joined
Oct 10, 2013
Messages
1
I've created a tool that works creating Excel subsets worksheets of lager Excel worksheets.

My OS is windows 7
Here is the connection info:

Provider=Microsoft.ACE.OLEDB.12.0;" & _
"Data Source=" & SourceXLSX & ";" & _
"Extended Properties=""Excel 12.0 Xml;HDR=YES;IMEX=1"""

This has worked for 16 months until this week when one of the fields (cells) contained over 255 chars.

I remember a problem with the Jet engine, but I thought it was fixed in the ACE engine.

All of the post I've found deal with the JET engine and or older versions of Excel.

I did find one MSDN reference to a similar bug and the solution was to install a SP for ADO called MDAC_TYPE.EXE

It seems to be for older versions of ADO and I wanted to check to see if any of you have run into this issue using a similar system configuration.

Any help would be great.

--Michael
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I had no any error with cells contained over 255 chars (411). But If long-text cells are end of a sheet's table their values are truncated to 255 chars. After I sorted the table for moving long text cells to top of the table. A recordset returned right length of cell's values (len(411).
Regards,
 
Upvote 0

Forum statistics

Threads
1,215,336
Messages
6,124,328
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top