S Shay A Member Nov 10, 2018 #1 Hi, I would like to create a macro that toggles events on and off. Thank you for your help in advance.
Hi, I would like to create a macro that toggles events on and off. Thank you for your help in advance.
V vletm Excel Ninja Nov 10, 2018 #2 Shay A Something like this ... Code: Sub Swaps_E() With Application .EnableEvents = Not .EnableEvents End With End Sub
Shay A Something like this ... Code: Sub Swaps_E() With Application .EnableEvents = Not .EnableEvents End With End Sub
S Shay A Member Nov 13, 2018 #3 Thanks but how does it enable the user to turn events on/off? What about vbyes and vnno within a message box?
Thanks but how does it enable the user to turn events on/off? What about vbyes and vnno within a message box?
V vletm Excel Ninja Nov 13, 2018 #4 Shay A How: Run once - it will change status Run again - it will change status What: You asked something, ... and now You would like to get something else/more?
Shay A How: Run once - it will change status Run again - it will change status What: You asked something, ... and now You would like to get something else/more?
S Shay A Member Nov 13, 2018 #5 So the first code is enough to enable/disable events? If, so ignore my previous message. TY
V vletm Excel Ninja Nov 13, 2018 #7 Shay A How? You wrote something and I read it already. ... and You even didn't use it. What would be Your point?
Shay A How? You wrote something and I read it already. ... and You even didn't use it. What would be Your point?
S Shay A Member Nov 13, 2018 #8 Becuse I didn't quite understand it, only after my second posting. SORRY