I'm using select twice to achieve my result of adding horizontal boarders. Is there perhaps a better way to write this?
The far right column can change, as can the bottom row.
Thank you
The far right column can change, as can the bottom row.
VBA Code:
Range(Range("A4"), Range("A4").End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Borders(xlEdgeTop).LineStyle = xlContinuous
Selection.Borders(xlEdgeBottom).LineStyle = xlContinuous
Selection.Borders(xlInsideHorizontal).LineStyle = xlContinuous
Thank you