Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Copy data where some cells exceed 256 characters

Is there an efficient way to copy large chunks of excel
data where some cells contain data which exceeds
256 characters, please?

Regards.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 18/11/2003


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy data where some cells exceed 256 characters

What is the inefficient way you are using now? Why do you consider it
inefficient - are you encountering an error/problem?

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
Is there an efficient way to copy large chunks of excel
data where some cells contain data which exceeds
256 characters, please?

Regards.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 18/11/2003




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Copy data where some cells exceed 256 characters

It's a new situation, that's occurred. The user has 3 workbooks
structured very similarly..... in essence they have many (but not
all) sheets with common names.
Current code processes each user workbook correctly, creating
3 new workbooks.

I'm now trying to write new code that will combine all 3 processed
workbooks into a single new book, and where the commonly
named sheets are combined:

So if the processed books were named Process1, 2, 3.xls and a
typical common sheet was named UserData, then I could create
a new book and copy the UserData sheets from the processed
workbooks (where they exist). If 3 sheets exist with the same name
then the new book will have sheets named UserData, UserData(2)
and UserData(3).

Ultimately there would be one sheet named UserData, where the
the contents of UserData are followed by UserData(2) and then
by UserData(3).

It's this copy process that throws the error when copying a sheet
where one cell or more contains more than 256 characters.

I haven't actually written a solution, but can only think to test each cell
for more than 256 characters before copying the sheet...... or perhaps
to copy the sheet and then try to trap the error message and then
direct code to deal with that specific sheet.

What's the best way to deal with this please?

Regards.

"Tom Ogilvy" wrote in message
...
What is the inefficient way you are using now? Why do you consider it
inefficient - are you encountering an error/problem?

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
Is there an efficient way to copy large chunks of excel
data where some cells contain data which exceeds
256 characters, please?

Regards.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 18/11/2003






---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.542 / Virus Database: 336 - Release Date: 18/11/2003


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
Can you exceed 15 number characters in an excel cell? Bailey Excel Discussion (Misc queries) 1 January 28th 08 12:09 PM
copy select characters from specified cells. Ron Excel Worksheet Functions 3 October 9th 06 08:40 PM
Footer exceed max characters Carol Excel Worksheet Functions 0 August 21st 06 05:13 PM
Sum of previous offset number of cells not to exceed certain value SimonK Excel Worksheet Functions 0 February 16th 06 02:41 PM
how do I ensure that the sum of two cells does not exceed a set fi lennysc14 Excel Worksheet Functions 3 July 5th 05 11:51 PM


All times are GMT +1. The time now is 12:25 PM.

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

About Us

"It's about Microsoft Excel"