Select contiguous cells by ActiveCell.Interior.ColorIndex andapplyborders
Hi Joel,
Thanks for the reply - when I paste your code, the following 3 rows
are highlighted red as syntax errors:
Set LastColCell = Range(startcell).Range(Selection.End(xlToRight)
Set LastCell = LastColCell.End(xlDown))
Set DateRange(StartDate,EndDate)
I think the first is missing a closing parenthesis, and the second has
an extra one?
But I'm not sure about the third?
Thanks again for your help!
Chris
|