Below, is the only code in a blank Worksheet, to test if this behavior is related to my project (it isn't)
If I step through this code, after the first Debug.Print Application.ScreenUpdating line is run, I get False in the Immediate Window as expected
However, before executing the next line, If I hover mouse over Application.ScreenUpdating, it always shows 'Application.ScreenUpdating = True' even though it is actually False.
I'm confused...Is this a bug or something else? Maybe because i'm in the Editor?
If I step through this code, after the first Debug.Print Application.ScreenUpdating line is run, I get False in the Immediate Window as expected
However, before executing the next line, If I hover mouse over Application.ScreenUpdating, it always shows 'Application.ScreenUpdating = True' even though it is actually False.
I'm confused...Is this a bug or something else? Maybe because i'm in the Editor?
VBA Code:
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Debug.Print Application.ScreenUpdating
Application.ScreenUpdating = True
Debug.Print Application.ScreenUpdating
End Sub