Sa...
Değerli arkadaşlar aşağıda uzun süredir kullanmış oldğum bir kod var ve çok işime yarıyor.
bu koda bir sıkıntım var sıkıntı yapmış olduğum değişiklikleri geri veya ileri alamamak bu konuda sizlerden ricam ileri geri alma özelliğini sağlaya bilirmiyiz ..
Kod.
---------------------------------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
If Application.CutCopyMode = xlCopy Then Exit Sub
If Application.CutCopyMode = xlCut Then Exit Sub
Cells.FormatConditions.Delete
If Intersect(ActiveCell, [A4:j1000]) Is Nothing Then Exit Sub
If Intersect(ActiveCell, [A4:j1000]) Is Nothing Then Exit Sub
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions.Add Type:=xlExpression, Formula1:=1
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Interior.ColorIndex = 40
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Font.Bold = True
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Font.ColorInde x = 5
ActiveCell.FormatConditions.Add Type:=xlExpression, Formula1:=1
ActiveCell.FormatConditions(1).Interior.ColorIndex = 15
End Sub
----------------------------------------------------------------------------------------
Saygı ve Sevgilerimle....
Değerli arkadaşlar aşağıda uzun süredir kullanmış oldğum bir kod var ve çok işime yarıyor.
bu koda bir sıkıntım var sıkıntı yapmış olduğum değişiklikleri geri veya ileri alamamak bu konuda sizlerden ricam ileri geri alma özelliğini sağlaya bilirmiyiz ..
Kod.
---------------------------------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
If Application.CutCopyMode = xlCopy Then Exit Sub
If Application.CutCopyMode = xlCut Then Exit Sub
Cells.FormatConditions.Delete
If Intersect(ActiveCell, [A4:j1000]) Is Nothing Then Exit Sub
If Intersect(ActiveCell, [A4:j1000]) Is Nothing Then Exit Sub
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions.Add Type:=xlExpression, Formula1:=1
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Interior.ColorIndex = 40
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Font.Bold = True
Range("A" & ActiveCell.Row & ":j" & ActiveCell.Row).FormatConditions(1).Font.ColorInde x = 5
ActiveCell.FormatConditions.Add Type:=xlExpression, Formula1:=1
ActiveCell.FormatConditions(1).Interior.ColorIndex = 15
End Sub
----------------------------------------------------------------------------------------
Saygı ve Sevgilerimle....
