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
- 3186 reads
Recent comments
5 years 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago