Katy Jordan
Well-known Member
- Joined
- Jun 28, 2008
- Messages
- 596
Hi, the below retains the selection in worksheet array, how can i get the code to de-select
i tried adding .Range("A5").Select, but the selection is still in place
i tried adding .Range("A5").Select, but the selection is still in place
Code:
With Worksheets(WSary(a)).Range("A6:M" & NR & ",Q6:R" & NR)
.Borders.LineStyle = xlNone
.Borders.LineStyle = xlContinuous
.Interior.ColorIndex = 0
.Borders.Weight = xlHairline
[COLOR=Red] .Range("A5").Select[/COLOR]
End With