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 / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Character Limits within an Array?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max - 20 Sep 2007 12:36 GMT
Here's an odd question.  I have a macro that reads the contents of a column
into an array.  The size of the cell contents can vary, and sometimes exceeds
255 characters.  Sometimes, the array data is truncated to 255 characters,
other times it is not.  

1) Why?
2) Is there a way to eliminate this phenomenon?

Signature

Thanks!
Max

JLGWhiz - 20 Sep 2007 13:18 GMT
I know that the display on the worksheet is truncated if there is data in the
adjacent cells, whether that data is visible or not.  However, if your
records are being truncated in the array variable, I don't have an answer for
that.

> Here's an odd question.  I have a macro that reads the contents of a column
> into an array.  The size of the cell contents can vary, and sometimes exceeds
[quoted text clipped - 3 lines]
> 1) Why?
> 2) Is there a way to eliminate this phenomenon?
Tim Williams - 20 Sep 2007 17:45 GMT
Care to show the code?

Tim

> Here's an odd question.  I have a macro that reads the contents of a
> column
[quoted text clipped - 5 lines]
> 1) Why?
> 2) Is there a way to eliminate this phenomenon?
 
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.