Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Workbook got too large


I am creating a template with VBA code to run it. I also use cell names.
I started out with 16 sheets and saved it and it was 53K. I added the
formatting and named 6 columns that are used for totals and when I
saved it the size was now 7,345K. I deleted all the names and it never
got smaller. Is there a way to clean it up?

Thanks…


--
Wilbur
------------------------------------------------------------------------
Wilbur's Profile: http://www.excelforum.com/member.php...o&userid=31826
View this thread: http://www.excelforum.com/showthread...hreadid=521343

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Workbook got too large

7+ MB with 16 sheets is a bit large for a Template Will.
How is the user opening the file?

If this is a genuine template file with an xlt extension, you may be better off to make some sheet templates and just use these as required.
Otherwise trim the differring formats like merged cells, have just one type of font and borders.
Loose any shapes or drawing objects.
You could send me the file - but I can't promise much if you don't like major surgery - which I expect this will need.

I'm assuming you've tried to loop through the workbook to copy just the data & formulae to new sheets?


Regards
Robert McCurdy



"Wilbur" wrote in message ...

I am creating a template with VBA code to run it. I also use cell names.
I started out with 16 sheets and saved it and it was 53K. I added the
formatting and named 6 columns that are used for totals and when I
saved it the size was now 7,345K. I deleted all the names and it never
got smaller. Is there a way to clean it up?

Thanks…


--
Wilbur
------------------------------------------------------------------------
Wilbur's Profile:
http://www.excelforum.com/member.php...o&userid=31826
View this thread: http://www.excelforum.com/showthread...hreadid=521343

  #3   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Workbook got too large

Hi Wilbur,

I have a similar project with a templates workbook consisting of 17 product
sheets, and 2 hidden maintenance sheets (query lists). Each template has 2
picture objects, tons of Conditional Formatting and Data Validation cells,
and a very long list of local defined names. There's no controls on any
sheets because everything is handled by built-in functions or their
associated add-in. There's also no VBA components (userforms, modules). The
file size is 797kb. I don't think that's a "clean" size because I've been
modifying it like crazy lately and haven't done any housekeeping yet.

You might want to think about rebuilding it, but that would mean some major
surgery like Robert indicated.

One thing I've noticed about Excel files behavior is, you can open a file in
another version, do nothing, and after you save it, it shrinks in size.<?? I
think maybe the file is what some term as "corrupt", and probably should be
rebuilt from scratch if it can't be sorted out. <IMO

HTH
Good luck!
GS
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
Adding a chart to large workbook brings workbook activity to a hal Dale Excel Discussion (Misc queries) 6 December 29th 08 05:50 PM
Large Workbook - trouble opening rbecker Excel Discussion (Misc queries) 5 December 8th 08 07:00 PM
Macro for Large workbook Jules Excel Worksheet Functions 8 April 24th 08 02:04 PM
Non-calculation in large workbook Edward Excel Discussion (Misc queries) 0 June 5th 06 07:13 PM
make large worksheet from workbook Cowtoon Excel Discussion (Misc queries) 5 December 6th 04 08:24 PM


All times are GMT +1. The time now is 10:35 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"