Hello all
I get a 1004 error message when I pass this code:
j is 63 for example. when the code "breaks" on this line and I hit continue the script carries on without problems and it even does what it is supposed to do with the code above. so I dont understand why I get that message.
thanks in advance
I get a 1004 error message when I pass this code:
Code:
With Sheets("overview").Range(Cells(2, 27), Cells(2, 26 + j)).Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent1
.TintAndShade = -0.249977111117893
.PatternTintAndShade = 0
End With
thanks in advance