I am doing macro. However, it is running but not working. Not sure where I went wrong.
I tried referring to below link but still doesn't work for me.
Kindly advise. Thank you.
HTML
https://www.ozgrid.com/forum/forum/help-forums/excel-general/108851-how-do-i-run-a-private-sub-worksheet_change-byval-target-as-range-macro
Code
Sub Worksheet_Change(ByVal Target As Range)
If Target.Value = "False" Then
With Target.Offset(0, -3).Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 5287936
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End If
End Sub
Public Sub hello()
Run "sheet1.worksheet_change", Range("a1")
End Sub
Display More