- Katılım
- 11 Nisan 2007
- Mesajlar
- 125
- Excel Vers. ve Dili
- excel=2016
türkçe
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Intersect(Target, Range("A13,k4
71,a44:j45,a46:a55,a56:e70,f56:g62,h56:j70,f65:g70,a71
71")) Is Nothing Then Exit Sub
a = InputBox("BU BÖLÜME GİRİŞ YAPMANIZ İÇİN ŞEFREYİ YAZINIZ.", "KENAN GÜNEŞ")
If a = "kenankasa" Then
Exit Sub
Else
Call SkipCell
End If
End Sub
Private Sub CommandButton1_Click()
ActiveWindow.SelectedSheets.PrintPreview
End Sub
Sub HSB()
Application.ActivateMicrosoftApp Index:=0
End Sub
Private Sub CommandButton2_Click()
UserForm1.Show
End Sub
Private Sub Calendar1_Click()
ActiveCell.Value = Calendar1.Value
Calendar1.Visible = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, [c46:c55]) Is Nothing Then
Calendar1.Visible = False
Exit Sub
Else
Calendar1.Value = Date
Calendar1.Visible = True
End If
End Sub
Sayın hocalarım bir kasa raporu hazırlıyordum. yukarıdaki kodları excel formda araşırdım tek tek buldum uyguladım taki en baştaki kodu yapıştırana kadar. daha sonra kırmızı olan kodu hatalı olduğunu vurguladı excel sorun nerdedir acaba. bu kodların hepsi tek bir sayfada diğer sayfalarada aynı kodu çoğaltıcam.
