XLA routines: EE_End
At the end of your code, it's good practise to turn events back on, enable alerts, and put calculation back to where it was.
Here's the code to turn them on:
See here to turn them off at the start of your code:
EE_Start
Public lngCalc As Long Sub EE_End() 'http://excelexperts.com/xla-routines-eeend Application.EnableEvents = True Application.DisplayAlerts = True Application.Calculation = lngCalc End Sub
»
- Nick's blog
- Login or register to post comments
- 3223 reads
Recent comments
5 years 41 weeks ago
6 years 27 weeks ago
6 years 39 weeks ago
6 years 42 weeks ago
6 years 43 weeks ago
6 years 48 weeks ago
7 years 4 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago