Hi,

When using Application ScreenUpdating = False and then turning it back on with Application ScreenUpdating = True where should the True line of code go when using error handling. Does it go right before End Sub as in the example below?

Example

Sub example ()

On Error GoTo ErrMsg

Application ScreenUpdating = False
'Code here

Exit Sub

ErrMsg:
MsgBox "Got an error."

Application ScreenUpdating = True

End Sub


Thanks for taking the time to review.
Karen