ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Error: Too many cell formats (https://www.excelbanter.com/excel-programming/291554-error-too-many-cell-formats.html)

AgLem

Error: Too many cell formats
 
Howdy All

I'm receiving an error when i am copying sheets into a workbook
What happens is, we have around 200 workbooks each containing one sheet
This sheet contains a small amount of data. The only formatting on the sheet is font, font size, and borders
The macro i have, copies via paste-specialvalues the contents of each workbook to a new sheet , in one central workbook
I have also tried just copying the sheet itself
However after copying a around 20/30 sheets it errors out saying "Too many cell formats"

I'm getting frustrated as i've seen other workbooks, with hundreds of pages with formatting galor, that easily outnumbers the megar formatting i have in my workbooks

Does anyone know of a way around this problem

Thanks and cheers

AL

Gord Dibben

Error: Too many cell formats
 
Al

This KB Article addresses this issue.

http://support.microsoft.com/default...b;en-us;213904

Note: article points out "about 4000" different formats as the limit and makes
suggestions for reducing.

Gord Dibben Excel MVP

On Mon, 16 Feb 2004 16:31:05 -0800, "AgLem"
wrote:

Howdy All,

I'm receiving an error when i am copying sheets into a workbook.
What happens is, we have around 200 workbooks each containing one sheet.
This sheet contains a small amount of data. The only formatting on the sheet is font, font size, and borders.
The macro i have, copies via paste-specialvalues the contents of each workbook to a new sheet , in one central workbook.
I have also tried just copying the sheet itself.
However after copying a around 20/30 sheets it errors out saying "Too many cell formats".

I'm getting frustrated as i've seen other workbooks, with hundreds of pages with formatting galor, that easily outnumbers the megar formatting i have in my workbooks.

Does anyone know of a way around this problem?

Thanks and cheers.

AL



nurkus

Error: Too many cell formats
 
I suspect that the problm is caused by a memory limitation. Try saving the workbook after doing each copy and paste.

----- AgLem wrote: -----

Howdy All,

I'm receiving an error when i am copying sheets into a workbook.
What happens is, we have around 200 workbooks each containing one sheet.
This sheet contains a small amount of data. The only formatting on the sheet is font, font size, and borders.
The macro i have, copies via paste-specialvalues the contents of each workbook to a new sheet , in one central workbook.
I have also tried just copying the sheet itself.
However after copying a around 20/30 sheets it errors out saying "Too many cell formats".

I'm getting frustrated as i've seen other workbooks, with hundreds of pages with formatting galor, that easily outnumbers the megar formatting i have in my workbooks.

Does anyone know of a way around this problem?

Thanks and cheers.

AL


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com