- Katılım
- 1 Ekim 2017
- Mesajlar
- 690
- Excel Vers. ve Dili
- 2019 türkçe
- Altın Üyelik Bitiş Tarihi
- 06/10/2023
Daha önce Worksheet_Change olayım vardı ona takvim Worksheet_Change ekledim hata veriyor nasıl düzeltebilirim.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim KeyCells As Range
Set KeyCells = Range("F3:F103")
If Not Application.Intersect(KeyCells, Range(Target.Address)) _
Is Nothing Then
Call gizleme
End If
Else
If Intersect(Target, Range("H9:I208")) Is Nothing Then Exit Sub
Call Takvim
End Sub
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("H9:I208")) Is Nothing Then Exit Sub
Call Takvim
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim KeyCells As Range
Set KeyCells = Range("F3:F103")
If Not Application.Intersect(KeyCells, Range(Target.Address)) _
Is Nothing Then
Call gizleme
End If
Else
If Intersect(Target, Range("H9:I208")) Is Nothing Then Exit Sub
Call Takvim
End Sub
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("H9:I208")) Is Nothing Then Exit Sub
Call Takvim
End Sub