- Katılım
- 22 Mayıs 2009
- Mesajlar
- 1,017
- Excel Vers. ve Dili
- Office 2003
Ömer uzmanım istediğim şekilde bir kod tanzim etmişti. Ancak projede bir değişiklik oldu. sütun bazından satır bazına çevirdik. Kodu satır bazında işlem görecek şekilde tanzim edebilir miyiz?
Ömer Uzmanıma ait kod aşağıdadır.
Ekli dosyaya göre uyarlayabilmeniz mümkün mü?
Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range
If Intersect(Target, [c8]) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
Set c = Range("AJ15
F15").Find(Target, , xlValues, xlWhole)
If Not c Is Nothing Then
Range(Cells(15, c.Column), Cells(Rows.Count - 15, c.Column)).Select
Selection.Copy Range("B12")
End If
Target.Select
Application.ScreenUpdating = True
End Sub
Ömer Uzmanıma ait kod aşağıdadır.
Ekli dosyaya göre uyarlayabilmeniz mümkün mü?
Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range
If Intersect(Target, [c8]) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
Set c = Range("AJ15
If Not c Is Nothing Then
Range(Cells(15, c.Column), Cells(Rows.Count - 15, c.Column)).Select
Selection.Copy Range("B12")
End If
Target.Select
Application.ScreenUpdating = True
End Sub
Ekli dosyalar
-
44.5 KB Görüntüleme: 16