dtpicker hatası

Katılım
18 Mayıs 2005
Mesajlar
25
Excel Vers. ve Dili
excel2003 Türkçe
ekteki dosyada userformdaki kaydet butonuna basınca dtpicker hatası veriyor
yardımcı olabilirmisiniz?
 

Orion1

Uzman
Uzman
Katılım
1 Mart 2005
Mesajlar
22,248
Excel Vers. ve Dili
Win7 Home Basic TR 64 Bit

Ofis-2010-TR 32 Bit
Aşağıdaki kırmızı satırı siliniz.:cool:
Kod:
Private Sub CommandButton1_Click()
Sheets("AYRAN").Select
MsgBox "Veriler Kaydedildi"
If Range("A6") = "" Then
Range("A6").Select
MsgBox "Veriler Kaydedildi"
ActiveCell = 1
ActiveCell.Offset(0, 1).Value = DTPicker1.Value
ActiveCell.Offset(0, 2).Value = TextBox1.Value
ActiveCell.Offset(0, 6).Value = TextBox2.Value
Else
[a65536].End(xlUp).Offset(1, 0).Select
ActiveCell = ActiveCell.Offset(-1, 0) + 1
ActiveCell.Offset(0, 1).Value = DTPicker1.Value
ActiveCell.Offset(0, 2).Value = TextBox1.Value
ActiveCell.Offset(0, 6).Value = TextBox2.Value
End If
[B][COLOR="Red"]'DTPicker1 = ""[/COLOR][/B]
TextBox1 = ""
TextBox2 = ""
End Sub
 
Katılım
18 Mayıs 2005
Mesajlar
25
Excel Vers. ve Dili
excel2003 Türkçe
teşekkür ederim Evren Bey
 
Üst