...B satırını güncellesin.
Ekleme çalışıyor sorun yok ancak değiştirme için kodu nasıl revize etmeliyim.?
Dosyalarımı ekledim
Dim Conn As ADODB.Connection
Dim Rs As ADODB.Recordset
Dim ConnString As String
Dim DosyaYolu As String
Dim satir As Long
Dim SAYFA As Worksheet...
...bir türlü başarılı olamadım. Veritabanına bağlanma konusunda sorun yaşadım.
kütüphanede yüklü nerede hata yapıyor olabilirim.
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim connStr As String
Dim strSQL As String
Dim ws As Worksheet
Dim i As Integer
connStr =...
...String
Dim lastRow As Long
Dim dict As Object
Dim key As Variant
' Set up database connection
Set conn = CreateObject("ADODB.Connection")
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\428011\Desktop\Yeni klasör\DB.accdb;"...
...iyi akşamlar.
Sub sorguu()
Dim Con As Object
Dim RS As Object
Dim yol As String
Sayfa2.Cells.ClearContents
Set Con = VBA.CreateObject("adodb.Connection")
yol = ThisWorkbook.FullName
Con.Open "provider=microsoft.ace.oledb.12.0;data source=" & _
yol & ";extended properties=""Excel...
...Sub Unique_2_List()
Dim My_Connection As Object, My_Recordset As Object, My_Query As String
Set My_Connection = VBA.CreateObject("AdoDb.Connection")
My_Connection.Open "Provider=Microsoft.Ace.OleDb.12.0;Data Source=" & _
ThisWorkbook.FullName & ";Extended...
...Dim ws As Worksheet, sh1 As Worksheet
Dim wsCtrl As Boolean
Application.ScreenUpdating = False
Set adoCN = CreateObject("ADODB.Connection")
wsCtrl = False
For Each ws In ThisWorkbook.Worksheets
If ws.Name = "Rapor" Then
wsCtrl = True: Exit...
...Dim adet As Double
Dim ilgiliFirma As String
Dim sheetName As String
' Bağlantı oluştur
Set conn = CreateObject("ADODB.Connection")
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & ThisWorkbook.FullName & ";Extended Properties=Excel 12.0;"...
...Tanım2, Tutar as Tutar2 FROM " & _
"[Sheet4$F1:H] WHERE NOT ISNULL(ID)" & _
") GROUP BY yID "
With CreateObject("ADODB.Connection")
.Open "Provider=Microsoft.Ace.Oledb.12.0;Extended Properties='Excel 12.0;HDR=YES;IMEX=0';Data Source=" &...
...As Object
Dim RS As Object
Dim yol As String
Dim sorgu As String
Sayfa2.Cells.ClearContents
Set Con = VBA.CreateObject("adodb.Connection")
yol = ThisWorkbook.FullName
Con.Open "provider=microsoft.ace.oledb.12.0;data source=" & _
yol & ";extended...
Sizlere daha iyi bir deneyim sunabilmek icin sitemizde çerez konumlandırmaktayız, web sitemizi kullanmaya devam ettiğinizde çerezler ile toplanan kişisel verileriniz Veri Politikamız / Bilgilendirmelerimizde belirtilen amaçlar ve yöntemlerle mevzuatına uygun olarak kullanılacaktır.