Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BVA BVA is offline
external usenet poster
 
Posts: 1
Default Recalculating Excel Sheets with activated autofilter

Hi all

I wrote a solution which recalculates the whole workbook (Excel 2002 SP2) in some functions. Everything works fine, but if the user activates the autofilter for some big sheets with complex formulas, the performance is terrible. Without activated filter, recalculation is finished in 10-20 seconds, with activatet autofilter it will take 2-3 minutes

Any ideas how to get a better performance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Recalculating Excel Sheets with activated autofilter

Hi BVA,

selecting any filter in autofilter mode triggers a recalcuation of all the
formulae in the list, even if none of their precedents have changed.

So maybe what is happening is that in a normal recalc very few of these
formulae are being calculated because very few precedents have changed, but
when the filter is activated all the formulae are being recalculated.

You could check this by timing ctrl/alt/f9 , if this takes 2-3 minutes it
would tend to confirm the explanation.

If this explanation is correct then you need to speed up the formulae, so
post an example of a slow formula and we will see if there is a faster way.


Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

"BVA" wrote in message
...
Hi all,

I wrote a solution which recalculates the whole workbook (Excel 2002 SP2)

in some functions. Everything works fine, but if the user activates the
autofilter for some big sheets with complex formulas, the performance is
terrible. Without activated filter, recalculation is finished in 10-20
seconds, with activatet autofilter it will take 2-3 minutes.

Any ideas how to get a better performance?




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_creating sheets from AutoFilter list Aline Excel Discussion (Misc queries) 1 August 12th 08 02:53 AM
Using Autofilter on Protected sheets Yogin Excel Discussion (Misc queries) 3 August 3rd 08 05:30 PM
Automatically recalculating in Excel Allison Excel Worksheet Functions 2 August 4th 05 03:58 PM
Autofilter not recalculating totals BJ Magill Excel Discussion (Misc queries) 2 March 23rd 05 07:50 PM
message/dialog box auto open when excel file is activated welshwizzard Excel Discussion (Misc queries) 2 January 21st 05 10:05 PM


All times are GMT +1. The time now is 09:38 AM.

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"