How do I write the code so that I can put a border around a group of cells using R1C1 notation? What I am trying to do is select 6 cells in a row and put an outside border around them. I have to do R1C1.
Here's the code that I wrote that is failing:
Thanks,
Here's the code that I wrote that is failing:
VBA Code:
Sheets(newSheetName).Range(("R" & (lRow + 1) & "C" & columnCount), ("R" & lRow + 1 & "C" & columnCount + 5)).BorderAround LineStyle:=xlContinuous, Weight:=xlThick
Thanks,