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
- 3245 reads
Recent comments
5 years 44 weeks ago
6 years 30 weeks ago
6 years 42 weeks ago
6 years 45 weeks ago
6 years 46 weeks ago
6 years 51 weeks ago
7 years 7 weeks ago
7 years 8 weeks ago
7 years 8 weeks ago
7 years 8 weeks ago