ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File size mystery (https://www.excelbanter.com/excel-programming/328197-file-size-mystery.html)

Eric Bentzen

File size mystery
 
1. I have a workbook with 42 sheets. Size: 3,8 mb
2. Then I have a copy with a diagram on each sheet. Size:
43,5 mb (approx. 1 mb per diagram).
3. Using a macro I copy the diagrams (diagrams only) to a
new workbook. Size: 132,6 mb !!!

If I copy the 42 diagrams manually, the size of the new
workbook is only 24,5 mb.

Can anyone explain this mystery? Any ideas as how to copy
the diagrams automatically and keep the file size down to
"normal"?

Thanks,

Eric Bentzen



Peter T

File size mystery
 
Hi Eric,

Maybe the code you use to do the copy does not replicate how you do it
manually.

Exactly what are these diagrams, 1mb / diag seems a lot.
Post the code you use to do the copy.

Regards,
Peter T


"Eric Bentzen" wrote in message
.. .
1. I have a workbook with 42 sheets. Size: 3,8 mb
2. Then I have a copy with a diagram on each sheet. Size:
43,5 mb (approx. 1 mb per diagram).
3. Using a macro I copy the diagrams (diagrams only) to a
new workbook. Size: 132,6 mb !!!

If I copy the 42 diagrams manually, the size of the new
workbook is only 24,5 mb.

Can anyone explain this mystery? Any ideas as how to copy
the diagrams automatically and keep the file size down to
"normal"?

Thanks,

Eric Bentzen






All times are GMT +1. The time now is 07:06 PM.

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