Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Organization of Macros and Memory Usage

Hi,

I am designing a workbook that generates sheets from a macro. These
sheets are all copies of a template sheet, in which there is another
button attached to a macro. Consequently, all subsequently generated
sheets contain this button and the associated macro.

This situation works fine in theory, but practically, I'm running into
a "Not enough resources to display completely" message, which doesn't
seem to do anything other than annoy me, and calculation times are
outrageous, 2-3 seconds each time I enter a value into a cell, string
or not, precedent or not. It seems like excel is doing a full recalc
every time I change a cell.

My main problem is that system resources business, and that is the
point of my question:

Will setting up the macro as a public subprocedure in a module, while
simply calling it from the embedded sheet buttons, free up any memory
compared to the way I'm already doing it?

Thanks in advance,

Ed
xl2003

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
Macros crash, "Not enough memory" CLR Excel Discussion (Misc queries) 9 February 13th 07 03:41 PM
XL 2007 memory usage Dave F Excel Discussion (Misc queries) 5 August 21st 06 01:01 AM
Monitor memory usage JL Links and Linking in Excel 1 May 16th 05 10:05 PM
Monitor memory usage JL Excel Discussion (Misc queries) 0 May 13th 05 04:15 PM
Expanding memory usage Excel 2003 Tieme Woldman Excel Discussion (Misc queries) 0 March 9th 05 02:55 PM


All times are GMT +1. The time now is 11:39 PM.

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

About Us

"It's about Microsoft Excel"