Ferhat Pazarçevirdi
Özel Üye
- Katılım
- 15 Haziran 2006
- Mesajlar
- 3,704
- Excel Vers. ve Dili
- Excel 2003, 2007, 2010 (TR)
Merhabalar
Kodunuzu sonuna aşağıdaki gibi Kırmızı satırları ilave etmelisiniz.
Kodunuzu sonuna aşağıdaki gibi Kırmızı satırları ilave etmelisiniz.
Kod:
Sub AktarSay()
.....
Diğer kodlarınız
.....
[COLOR=red]With s2.Cells
.Borders(xlDiagonalDown).LineStyle = xlNone
.Borders(xlDiagonalUp).LineStyle = xlNone
.Borders(xlEdgeLeft).LineStyle = xlNone
.Borders(xlEdgeTop).LineStyle = xlNone
.Borders(xlEdgeBottom).LineStyle = xlNone
.Borders(xlEdgeRight).LineStyle = xlNone
.Borders(xlInsideVertical).LineStyle = xlNone
.Borders(xlInsideHorizontal).LineStyle = xlNone
End With
With s2.Range("A1:H" & s2.Cells(65536, 1).End(xlUp).Row)
.Borders(xlEdgeLeft).LineStyle = xlContinuous
.Borders(xlEdgeTop).LineStyle = xlContinuous
.Borders(xlEdgeBottom).LineStyle = xlContinuous
.Borders(xlEdgeRight).LineStyle = xlContinuous
.Borders(xlInsideVertical).LineStyle = xlContinuous
.Borders(xlInsideHorizontal).LineStyle = xlContinuous
End With[/COLOR]
MsgBox "Bitti"
[a1].Select
Set s1 = Nothing
Set s2 = Nothing
End Sub