- Katılım
- 1 Ağustos 2019
- Mesajlar
- 839
- Excel Vers. ve Dili
- Türkçe excel 2016
İngilizce excel 2016
İlgili sayfaya her girişimde günü gelen uyarıların mesajlarını verdiriyorum. Bu kodu sayfaya her girişimde değil de, sayfaya kaç kez girersem gireyim sadace 1 defa versin, bir daha vermesin istiyorum. Bunu nasıl yaparım acaba Aktif sayfaya bağlı kod sayısı toplam 9 adettir
Private Sub Worksheet_Activate()
takvim
OGKK
sozlesme
Azonesozlesme
B_zonesozlesme
C_zonesozlesme
D_zonesozlesme
merkezofissozlesme
misafirotopark
On Error Resume Next
bulunan = ""
Bul = Worksheets("AJANDA").Range("B2:B100").Find(Date).Row
If Bul > 0 Then
With Sheets("AJANDA").Range("B2:B100")
Set c = .Find(Date)
If Not c Is Nothing Then
firstAddress = c.Address
Do
bulunan = bulunan & Sheets("AJANDA").Cells(c.Row, 1) & " --> " & c.Text & Chr(13)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
MsgBox bulunan, vbInformation, "Hatırlanması Gerekenler"
End If
End Sub
Private Sub Worksheet_Activate()
takvim
OGKK
sozlesme
Azonesozlesme
B_zonesozlesme
C_zonesozlesme
D_zonesozlesme
merkezofissozlesme
misafirotopark
On Error Resume Next
bulunan = ""
Bul = Worksheets("AJANDA").Range("B2:B100").Find(Date).Row
If Bul > 0 Then
With Sheets("AJANDA").Range("B2:B100")
Set c = .Find(Date)
If Not c Is Nothing Then
firstAddress = c.Address
Do
bulunan = bulunan & Sheets("AJANDA").Cells(c.Row, 1) & " --> " & c.Text & Chr(13)
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
MsgBox bulunan, vbInformation, "Hatırlanması Gerekenler"
End If
End Sub

