Solved

Workbook_SheetCalculate Only Fire When Filter Changes

Posted on 2011-02-18
3
915 Views
Last Modified: 2012-05-11
Is it possible to determine which "event" has triggered the Workbook_SheetCalculate event? I have a code section within the Workbook_SheetCalculate code block (for various reasons must stay in the Workbook_SheetCalculate event) that I only want to run when the AutoFilters are changed. However, at the moment the code is run when any cell changes within the worksheet.
0
Comment
Question by:peddle
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 125 total points
Comment Utility
Anything that causes the sheet to calculate will trigger that event, but have a look at Dave's article here: http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_2773-Trapping-a-change-to-a-filtered-list-with-VBA.html?sfQueryTermInfo=1+30+excel+filter
for some ways to get what you need.
0
 
LVL 45

Expert Comment

by:patrickab
Comment Utility
peddle,

Please upload your file.

Patrick
0
 
LVL 1

Author Closing Comment

by:peddle
Comment Utility
Great, worked brilliantly. Thank you.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now