I have tried to write code to set the fill color in N5:O5 to dark blue and the font color to white
When running the macro I get a run time error, "object does not support this property or method"
It would be appreciated if someone could correct my code
I
When running the macro I get a run time error, "object does not support this property or method"
It would be appreciated if someone could correct my code
Code:
Sub FillColor ()
with Sheets ("Sales Data")
.Range("N5:O5").Font.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
end With
End Sub
I