Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue Rizzo
 
Posts: n/a
Default Exported File truncating cell data after 255 characters

I have exported a file in Excel format from MS Access. When I open the file
in Excel, the cells containing greater than 255 characters have been
truncated. Any way around this?
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Excel will not display any characters if you put more than 255 in a cell.
Instead you'll get only # signs. So..exporting more than 255 (or maybe even
254) in a field is not likely to help you.

How many characters in the fields you're trying to export?

If not too many more than the 255 limit - you could use a query to break it
into two columns - first one getting the LEFT([textfield],200) and the next
one getting the RIGHT([textfield],LEN([textfield]-200).

If you've got a few thousand characters in the field...then exporting to
Excel isn't going to be fun for you. You'll just have to break the field
into dozens of smaller chunks

"Sue Rizzo" wrote:

I have exported a file in Excel format from MS Access. When I open the file
in Excel, the cells containing greater than 255 characters have been
truncated. Any way around this?

  #3   Report Post  
Sue Rizzo
 
Posts: n/a
Default

Thank you for your response. Yes, I have many cells with greater than 1,000
char. so splitting them into columns of 255 each would be quite burdensome.
It looks like I am stuck with the alternative of exporting to a Text File,
then copying the contents of the text file and pasting into Excel using Paste
Special as Text. I've used this method before but will now have to write a
little code to automate the Excel paste special task.

"Duke Carey" wrote:

Excel will not display any characters if you put more than 255 in a cell.
Instead you'll get only # signs. So..exporting more than 255 (or maybe even
254) in a field is not likely to help you.

How many characters in the fields you're trying to export?

If not too many more than the 255 limit - you could use a query to break it
into two columns - first one getting the LEFT([textfield],200) and the next
one getting the RIGHT([textfield],LEN([textfield]-200).

If you've got a few thousand characters in the field...then exporting to
Excel isn't going to be fun for you. You'll just have to break the field
into dozens of smaller chunks

"Sue Rizzo" wrote:

I have exported a file in Excel format from MS Access. When I open the file
in Excel, the cells containing greater than 255 characters have been
truncated. Any way around this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Excel Data from another workbook or file tamato43 Excel Discussion (Misc queries) 1 February 28th 05 05:26 PM
Importing .txt data files increases .xls file size BrianJ Excel Discussion (Misc queries) 1 January 29th 05 02:02 PM
How do I "cut" only the data from a cell Kev Nurse Excel Discussion (Misc queries) 1 January 28th 05 12:57 AM
How do I use a cell as a referance to a file in a lookup statemen. SarahP Excel Worksheet Functions 1 January 27th 05 11:09 PM
sending data from one cell to another (not using copy & paste) Charlie Payne Excel Worksheet Functions 3 December 6th 04 03:28 PM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"