Linked Excel and field character limit

Experts, it seems if you link to an excel file, the field in the report is limited to a certain character limit.  I am not sure if this is fixable unless the excel file is imported, which is not what I want to do.  Since the excel file is linked I can not change the properties like I can in an access table.

Am I stuck with the field character limit Access uses?

thank you
pdvsaProject financeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Excel has a limit of 32K characters per cell.
Put = B1&B2 in B3
Put =LEN(B3) in A3
Pull the formulas down, and by row 17 you'll see the 32K limit.

Save the file and link to it.
Build a query
SELECT Len([f2]) AS theLen, Sheet1.F2
FROM Sheet1;

Access clearly sees that all the characters are there.
Build a report and bind A TEXTBOX to the query.

But our old friend VBA comes to the rescue.
Unbind the textbox and create a Detail_Format event
32K characters will show, if it so pleases.

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim db As Database
Dim rs As Recordset

Set db = CurrentDb
Set rs = db.OpenRecordset("SELECT Sheet1.F2 FROM Sheet1 where f1 = " & Me.theLen, dbOpenDynaset)
Me.F2 = rs![F2]
End Sub

Samples (put them in c:\temp) attached

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pdvsaProject financeAuthor Commented:
Interesting.   At least I know there is a work around.  Will test it out.   Thank you for the help Nick.
And thank you!
It turns out that the point you awarded put me over 1 million.
That's not something that happens everyday :)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.