I have a large file and in that I have one function which changes the color if the cell value is changed.
Now it works properly with Worksheet_Change when I put it in the sheet 1 in VBA!
But I want to do some copy pasting in the sheet before I download the new file.
How can I assign a macro to activate this code on VBA sheet so it only works in the new the file downloaded? Or is there a button I can add so it calls it after?
Thank you!
Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("$A:$AQ")) Is Nothing Then
     Range(Target.Address).Select
   
     With Selection.Interior
       .Pattern = xlSolid
       .PatternColorIndex = xlAutomatic
       .ThemeColor = xlThemeColorAccent6
      .TintAndShade = 0
       .PatternTintAndShade = 0
    End With
   End If
End Sub
I want this to work in SHeet1 of the downloaded file not the Sheet one from the Master File.
