Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Application.Calculation Problems

I have a spreadsheet that is quite large and has a lot of page formatting as
users select values etc on the input sheet to generate a nice sales package
for the customer.

with careful use of;
Application.Calculation = xlManual
Application.Calculation = xlAutomatic
ActiveSheet.Calculate

I was able to reduce the total calculation and formatting time to
approximately 5 seconds.

However when another sheet is open at the same time which is also
calculation intensive, the total time total calculation and formatting time
is approximately 2 minutes.

I assume that is is because everytime the workbook switches the calculation
mode to automatic, excel recalculates every cell in every workbook? or
something to that effect.

Does anyone have another way? ive tried
ActiveWorkbook.Application.Calculation = xlManual
ActiveWorkbook.Application.Calculation = xlAutomatic
but it hasnt made any difference
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Application.Calculation Problems

See:

http://groups.google.com/group/micro...500d7513837b6c
--
Gary''s Student - gsnu200767


"Jive" wrote:

I have a spreadsheet that is quite large and has a lot of page formatting as
users select values etc on the input sheet to generate a nice sales package
for the customer.

with careful use of;
Application.Calculation = xlManual
Application.Calculation = xlAutomatic
ActiveSheet.Calculate

I was able to reduce the total calculation and formatting time to
approximately 5 seconds.

However when another sheet is open at the same time which is also
calculation intensive, the total time total calculation and formatting time
is approximately 2 minutes.

I assume that is is because everytime the workbook switches the calculation
mode to automatic, excel recalculates every cell in every workbook? or
something to that effect.

Does anyone have another way? ive tried
ActiveWorkbook.Application.Calculation = xlManual
ActiveWorkbook.Application.Calculation = xlAutomatic
but it hasnt made any difference

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Application.Calculation Problems

Problem solved - thanks

"Gary''s Student" wrote:

See:

http://groups.google.com/group/micro...500d7513837b6c
--
Gary''s Student - gsnu200767


"Jive" wrote:

I have a spreadsheet that is quite large and has a lot of page formatting as
users select values etc on the input sheet to generate a nice sales package
for the customer.

with careful use of;
Application.Calculation = xlManual
Application.Calculation = xlAutomatic
ActiveSheet.Calculate

I was able to reduce the total calculation and formatting time to
approximately 5 seconds.

However when another sheet is open at the same time which is also
calculation intensive, the total time total calculation and formatting time
is approximately 2 minutes.

I assume that is is because everytime the workbook switches the calculation
mode to automatic, excel recalculates every cell in every workbook? or
something to that effect.

Does anyone have another way? ive tried
ActiveWorkbook.Application.Calculation = xlManual
ActiveWorkbook.Application.Calculation = xlAutomatic
but it hasnt made any difference

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
Excel 2007 - Calculation Problems Alan Smith Excel Discussion (Misc queries) 12 December 14th 07 02:41 PM
Excel 2003 - Problems with calculation ROland Setting up and Configuration of Excel 1 January 16th 07 03:21 PM
Time format - problems with calculation Kathrine Excel Discussion (Misc queries) 1 December 5th 06 02:20 PM
Simple Interest Calculation Problems Lisa Excel Discussion (Misc queries) 1 March 2nd 06 03:27 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM


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