Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roger - 27 May 2008 17:07 GMT
Does anyone know of an event that will run as soon as the user has used the
autofilter please

Signature

Roger

Mike H. - 27 May 2008 20:18 GMT
This seems to work, but has some overhead involved:

Place this in the ThisWorkbook area
Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
msgbox("This will capture your activity")
End Sub

And
add a formula like this that will span an entire column of your filtered
table:

=SUBTOTAL(102,E4:E21)
where E4:E21 will span your entire filtered table.  If Calculate is set to
automatic, the formula will trip the sub above and you can do whatever.  I
could find no "direct" way to capture a filter event.  HTH.

> Does anyone know of an event that will run as soon as the user has used the
> autofilter please
Roger - 29 May 2008 19:09 GMT
Mike - thanks - very logical and obvious when its pointed out to you. This
will obviously work with calc set to auto - I am set to manual to increase
speed (lots of calcs) - I will need to think it through and may have to
compromise the man/auto or scrap what I was trying to do - in any event,
thanks for the help

Signature

Roger

> Does anyone know of an event that will run as soon as the user has used the
> autofilter please
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.