DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Gunle()
On Error Resume Next
Dim i As Long
Dim sql As String
Dim deg As String
Dim Ucret As String
Dim Sifrem As String
Sifrem = "ABC"
Dim CN
Dim RS
Set CN = New ADODB.Connection
Set RS = New ADODB.Recordset
CN.ConnectionString = "DRIVER={Microsoft ODBC for Oracle};UID=necdet;PWD=" & Sifrem & ";SERVER=oracle8"
CN.Open
For i = 2 To Cells(Rows.Count, "A").End(3).Row
Ucret = Replace(Cells(i, "D"), ",", ".")
sql = "INSERT INTO PERSON (SICIL, ADI, SOYADI, UCRETI)" & _
"VALUES(" & Cells(i, "A") & ", '" & Cells(i, "B") & "', '" & Cells(i, "C") & "," & Ucret & ")"
Set RS = CN.Execute(sql)
Next i
MsgBox "İŞLEM TAMAMDIR....."
RS.Close
Set RS = Nothing
CN.Close
Set CN = Nothing
End Sub