Answers for "if i change the sheet select a cell in excel vba"

VBA
0

excel vba cell on change

' In your Worksheet code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Target.Worksheet.Range("A1")) Is Nothing Then 
    	Application.EnableEvents = False
    	'  Do your stuff
    Application.EnableEvents = True
    End If
End Sub
Posted by: Guest on January-31-2021

Code answers related to "if i change the sheet select a cell in excel vba"

Code answers related to "VBA"

Browse Popular Code Answers by Language