Hi,
I have been struggling with an "Import Excel into Access" issue, and was
very excited when I found your post. I went directly to Ken Snell's site and
there is a link to specifically my problem: I cannot seem to import any text
string longer than 255 characters.
The link on Ken's site is:
http://www.accessmvp.com/KDSnell/EXCEL_Import.htm#DataTypeErr
There it says:"The truncated text string that you see is because Jet
(ACCESS) sees only "short text" (text strings no longer than 255 characters)
".
It suggests this as a method to bypass the problem: "2) Create a blank table
into which you will import the spreadsheet's data. For the field that will
receive the "memo" data, make its data type "Memo". Jet (ACCESS) then will
"honor" the field's datatype when it does the import."
As I recall, this worked in Access/Excel 2003. But I am working in
Access/Excel 2007. I created the blank table, and set the field type to
Memo. When I executed the DoCmd.TransferSpreadsheet acImport, and then
looked at the data, even though the field was still defined as Memo (Jet
"honored" the datatype), the data was still truncated to 255 characters!!
Any suggestions on how to get around this in Access 2007?