...it only does the box border on the cell with date 10/20 .It is supposed to do for date =10/27 and <=11/24
Your description said:
...select the column from row 26 till the
end of the column where it finds the last data and give that a thick box border.
The first column for 10/20 is the only one that has data. The other columns with dates 10/27 - 11/24 have no data. Therefore no boxes.
Did you mean that you want the box around cells even if there is no data? If so, here is a revision, which also boxes each individual cell.
Bookmarks