- Katılım
- 18 Ağustos 2009
- Mesajlar
- 199
- Excel Vers. ve Dili
- Excel 365 - Türkçe
- Altın Üyelik Bitiş Tarihi
- 14/06/2022
Hücre değeri değişince makronun otomatik çalışmasını istiyorum ve aşağıdaki kodu kullanıyorum bu kod çalışıyor.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Range("L10:L16").Select
Selection.ClearContents
Range("B3").Select
End If
End Sub
Ancak makroda aşağıdaki gibi başka bir çalışma sayfasına geçiş olduğunda ise kod çalışmıyor.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Sheets("LİSTE").Select
Range("L10:L16").Select
Selection.ClearContents
Range("B3").Select
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Range("L10:L16").Select
Selection.ClearContents
Range("B3").Select
End If
End Sub
Ancak makroda aşağıdaki gibi başka bir çalışma sayfasına geçiş olduğunda ise kod çalışmıyor.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Sheets("LİSTE").Select
Range("L10:L16").Select
Selection.ClearContents
Range("B3").Select
End If
End Sub