I've got this code so that whenever I change a certain cell others are automatically updated considering both content and formatting rules. How can I add more lines so that it applies to several different group of cells? Let's say I also want to copy contents and formatting from 'W2' into 'I2,I7,I12,I17,I26,I31,I36,I41,I50,I55,I60,I65'? If I try to duplicate the code it won't work so I'm sure some code tweaking is also needed but my VBA skills are very limited...
Thank you!
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Target.Address = [X2].Address Or changing Then Exit Sub
changing = True
[X2].Copy [J2,J7,J12,J17,J26,J31,J36,J41,J50,J55,J60,J65]
changing = False
End Sub
Thank you!