- Katılım
- 11 Mart 2008
- Mesajlar
- 3
- Excel Vers. ve Dili
- 2007 türkçe
ekte değişken makro hakkında isteğimi sundum şimdiden teşekkürler ilginiz için...
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub kenarlikciz()
For a = 2 To [s65536].End(3).Row
If Cells(a, "s") = "NET GR." Then
Range("a" & a & ":s" & a).Borders(xlEdgeTop).LineStyle = xlContinuous
Range("a" & a & ":s" & a).Borders(xlEdgeTop).Weight = xlThin
Range("a" & a & ":s" & a).Borders(xlEdgeTop).ColorIndex = xlAutomatic
End If
Next
End Sub
merhabaAşağıdaki kodu deneyin.
Kod:Sub kenarlikciz() For a = 2 To [s65536].End(3).Row If Cells(a, "s") = "NET GR." Then Range("a" & a & ":s" & a).Borders(xlEdgeTop[COLOR="Red"][B])[/B][/COLOR].LineStyle = xlContinuous Range("a" & a & ":s" & a).Borders(xlEdgeTop).Weight = xlThin Range("a" & a & ":s" & a).Borders(xlEdgeTop).ColorIndex = xlAutomatic End If Next End Sub