Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 192
Default Excel not responding. Only works if I run split macro in 2.

Excel file is 46mb. Has 2 macros. Ist macro selects company in use and
populates data tables based on company in use. The second macro is an
automated goal seek calculation.
If run ist macro and save and close file and shut down machine, then restart
and run the 2nd macro then the file calculates correctly.
If try to run Ist and 2nd macros sequentially then Excel stops responding
during the 2nd macro.
Have upped RAM to 3 GB and increased processor to 2.8 MHZ, but makes no
difference.
How do I stop excel hanging / not responding
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel not responding. Only works if I run split macro in 2.

Nick wrote:
Excel file is 46mb. Has 2 macros. Ist macro selects company in use and
populates data tables based on company in use. The second macro is an
automated goal seek calculation.
If run ist macro and save and close file and shut down machine, then restart
and run the 2nd macro then the file calculates correctly.
If try to run Ist and 2nd macros sequentially then Excel stops responding
during the 2nd macro.
Have upped RAM to 3 GB and increased processor to 2.8 MHZ, but makes no
difference.
How do I stop excel hanging / not responding

have you tried adding an auto save in the macro. so macro 1 runs, then
saves before starting macro 2?

Anthony
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 192
Default Excel not responding. Only works if I run split macro in 2.

Hi Anthony
I added "activeworkbook.save" at the end of the Ist macro, then ran the 2nd
macro.
Unfortunately, excel is still hanging ("not responding").

"Anthony Taylor" wrote:

Nick wrote:
Excel file is 46mb. Has 2 macros. Ist macro selects company in use and
populates data tables based on company in use. The second macro is an
automated goal seek calculation.
If run ist macro and save and close file and shut down machine, then restart
and run the 2nd macro then the file calculates correctly.
If try to run Ist and 2nd macros sequentially then Excel stops responding
during the 2nd macro.
Have upped RAM to 3 GB and increased processor to 2.8 MHZ, but makes no
difference.
How do I stop excel hanging / not responding

have you tried adding an auto save in the macro. so macro 1 runs, then
saves before starting macro 2?

Anthony

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
Macro is not responding Len Case Excel Worksheet Functions 5 January 11th 08 06:18 PM
Macro do works in excel... driller Excel Worksheet Functions 7 July 12th 07 02:56 PM
Excel macro works only for administrator Free Agent99 Excel Discussion (Misc queries) 12 May 15th 06 09:25 PM
Macro hangs my excel (not responding) Jeff Excel Programming 3 September 9th 05 12:41 AM
Macro no longer works now that in Excel XP C.B.[_2_] Excel Programming 0 December 14th 03 09:49 PM


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