View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ShaneDevenshire ShaneDevenshire is offline
external usenet poster
 
Posts: 2,344
Default Application.EnableEvents

Hi,

In your finished code you should consider something like this

Sub myProcedure()
On Error GoTo ErrorHandler

'your code here

ErrorHandler:
Application.EnableEvents = True
End Sub


--
Thanks,
Shane Devenshire


"DCPan" wrote:

If you accidentally disabled events due to an error in logic, how do you turn
it back on?