sinnernekolens
Altın Üye
- Katılım
- 23 Temmuz 2009
- Mesajlar
- 310
- Excel Vers. ve Dili
- Ofis 2019 - Türkçe 64bit
Arkadaşlar aşağıdaki url neden hata veriyor
yardımcı olmanızı rica ederim
Sub dovizz()
Dim Hucre As Range
With Sheets("Döviz")
.Range("A2:C5").ClearContents
With .QueryTables.Add(Connection:="URL;http://www.tcmb.gov.tr/yeni/tablolar.php", Destination:=.Range("A2"))
.WebFormatting = xlWebFormattingNone
.WebTables = "4"
.Refresh BackgroundQuery:=False
End With
For Each Hucre In .Range("B4:C5")
Hucre = Hucre / 10000
Next
.Range("C2").Value = Now
.Range("C2").NumberFormat = "dd.mm.yyyy hh:mm:ss"
.Range("B4:C5").NumberFormat = "General"
.Range("A:C").EntireColumn.AutoFit
End With
MsgBox "Kur bilgileri güncellenmiştir.", vbInformation
End Sub
