everyone.
I working on a project in Excel/VBA and have encountered some problem.
So, Set wsMain = ThisWorkbook.Sheets(3)
is the worksheet I need the coloring and I currently have
With wsMain
.Columns("A:AO").AutoFit
'.Range("A1:AO1").Columns.AutoFit
.Cells.ClearFormats
.Rows(1).Font.Bold = True
.Cells.Font.Color = RGB(0, 0, 255)
The only thing I need to do is color every cell in the worksheet below the first row. The first row is freezed and should not have any background color.
Can anyone suggest a good approach to solve this problem?
Thanks,