sirkülasyon
Altın Üye
- Katılım
- 10 Temmuz 2012
- Mesajlar
- 2,532
- Excel Vers. ve Dili
- 2021 LTSC TR
- Altın Üyelik Bitiş Tarihi
- 18-06-2026
Kod:
Private Sub CommandButton1_Click()
Set Personel = Worksheets("Personel")
cevap = MsgBox("Verileri güncellek istiyor musunuz?", vbYesNo + vbExclamation, "İşlem Mesajı")
If cevap = vbYes Then
On Error Resume Next
Aranan = TextBox1.Value
Set ara = Sheets("Personel").Range("C:C").Find(Aranan, , xlValues, xlWhole)
Sheets("Personel").Cells(ara.Row, "C") = TextBox1.Value
Sheets("Personel").Cells(ara.Row, "B") = TextBox2.Value
Sheets("Personel").Cells(ara.Row, "U") = TextBox3.Value
Sheets("Personel").Cells(ara.Row, "V") = TextBox4.Value
Sheets("Personel").Cells(ara.Row, "S") = TextBox5.Value
Sheets("Personel").Cells(ara.Row, "Y") = TextBox9.Value
Sheets("Personel").Cells(ara.Row, "Z") = TextBox10.Value
Sheets("Personel").Cells(ara.Row, "X") = TextBox11.Value
Sheets("Personel").Cells(ara.Row, "AA") = TextBox13.Value
Sheets("Personel").Cells(ara.Row, "AB") = TextBox14.Value
MsgBox "verilerinizde Değişiklik yapıldı", , "UYARI"
UserForm6.Show
With Label6
.Visible = True
.ForeColor = &H8000000D
.Caption = "Veriler Güncellendi!!!"
End With
endtime = Now() + Seconds
Application.Wait (endtime + TimeValue("00:00:02"))
Label6.Visible = False
Else
Exit Sub
End If
End Sub
"İkinci kez aktarmak üzeresiniz. Tekrar Aktarmak istiyor musunuz?" Evet ise aktarsın Hayır ise aktarmasın
Rica etsem böyle bir ekleme yapabilir misiniz?