I have the current VBA code below:
Range("N82:S82").Select
Range(Selection, Selection.End(xlDown)).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent4
.TintAndShade = 0.399975585192419
.PatternTintAndShade = 0
End With
I am trying to only fill the selected range up until the last row of data MINUS ONE (-1) row. Is there a simple way to execute this code?
*Last row of data can be found in Col A
Range("N82:S82").Select
Range(Selection, Selection.End(xlDown)).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent4
.TintAndShade = 0.399975585192419
.PatternTintAndShade = 0
End With
I am trying to only fill the selected range up until the last row of data MINUS ONE (-1) row. Is there a simple way to execute this code?
*Last row of data can be found in Col A