- Katılım
- 16 Ağustos 2008
- Mesajlar
- 18
- Excel Vers. ve Dili
- 2007
hamit bey rakkam işini halletim. biz bu kodu değiştirerek her seferinde bir alt satıra atmasını iptal mı etmiş olduk.
Sub aktar()
Set baglanti = CreateObject("ADODB.Connection")
yol = "DRIVER={Microsoft Excel Driver (*.xls)};" & "DBQ=" & ThisWorkbook.Path & "\veri.xls"
baglanti.Open yol
Set rs = baglanti.Execute("[veri$a1:k1000]")
[c3] = rs.CopyFromRecordset
rs.Close
baglanti.Close
End Sub
böyle yazdım ama basarılı olamadım
Sub aktar()
Set baglanti = CreateObject("ADODB.Connection")
yol = "DRIVER={Microsoft Excel Driver (*.xls)};" & "DBQ=" & ThisWorkbook.Path & "\veri.xls"
baglanti.Open yol
Set rs = baglanti.Execute("[veri$a1:k1000]")
[c3] = rs.CopyFromRecordset
rs.Close
baglanti.Close
End Sub
böyle yazdım ama basarılı olamadım
