Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To click the UnDo-button and then, Private Sub Worksheet_Calculate()
inadvertently executes. Would like to by-pass the given Event-Handler, but How ? Please share your experience. Regards. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nigel, Esq.,
Thank you for responding to my query. By virtue of, Application.EnableEvents = False ; And therafter, everything else will be Dormant and remain so ...... that's Not a State Everybody Else would be yearning to enter. Besides UnDo, Autofit-button will also activate Private Sub Worksheet_Calculate() ; so do many more other buttons, I reckon. Private Sub Worksheet_Calculate(), in this particular instance, is deployed in waiting for "ActiveSheet.AutoFilter" actuation alone. Meaning that it would be meaningless to activate, Private Sub Worksheet_Calculate(), if UnDo-button is inadvertently pressed. It will only be meaningful to activate, Private Sub Worksheet_Calculate (), when the AutoFilter on th e ActiveSheet is effected thereof. Admittedly, Private Sub Worksheet_Calculate() is particularly unruly ; When one Private Sub Worksheet_Calculate() executes, it appears that all the other Private Sub Worksheet_Calculate()'s coded behind all the other worksheets would execute too. There's no stopping all the Private Sub Worksheet_Calculate()'s from executing All-At-Once (although it may not mean Simultaneity in the Relativistic-Sense). Regards. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nigel, Esq.,
Thank you for responding to my query. As given previously, Private Sub Worksheet_Calculate(), in this particular instance, is deployed in waiting for "ActiveSheet.AutoFilter" actuation alone. The question is, to devise a certain means, to isolate, Private Sub Worksheet_Calculate(), such that it would not respond to extraneous activation by, Autofit, UnDo, ReDo and probably a multiplicity of other (spurious) button-clicking. Private Sub Worksheet_Calculate(), is meant for "ActiveSheet.AutoFilter", out of exclusive necessity in this application. Please share your experience. Regards. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Improve method of calling a private function in a private module | Excel Programming | |||
Re : Excel Worksheet_Calculate() & Worksheet_Change() | Excel Programming | |||
pass value to excel userform - is there a constructor? how to pass | Excel Programming | |||
Pass variables from Worksheet_Calculate sub to Module | Excel Programming | |||
Private Sub Running Other Private Sub Inadvertently | Excel Programming |