auto.pilot
Well-known Member
- Joined
- Sep 27, 2007
- Messages
- 719
I have the following simple bit of code. The first line selects a cell in Column A, then underlines it. I'd like to expand this code so that the range selected is columns A:Z. No matter what I try, nothing has worked. Can someone please offer a solution to this seemingly simple problem?
Thanks in advance.
Jim
Thanks in advance.
Jim
Code:
Cells(aArea.Row + aArea.Rows.Count, 1).Select
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With