sinnernekolens
Altın Üye
- Katılım
- 23 Temmuz 2009
- Mesajlar
- 310
- Excel Vers. ve Dili
- Ofis 2019 - Türkçe 64bit
Aşağıdaki kod ile butonu sayfa1'e ekleyip bilgileri sayfa2 ye aktarmasını nasıl sağlayabilirim.
Kod:
Sub dovizz()
Dim hucre As Range
[r2:t5].ClearContents
With ActiveSheet.QueryTables.Add(Connection:="URL;http://www.tcmb.gov.tr/yeni/tablolar.php", Destination:=[r2])
.WebFormatting = xlWebFormattingNone
.WebTables = "4"
.Refresh BackgroundQuery:=False
End With
For Each hucre In [s4:t5]
hucre = hucre / 10000
Next
Range("T2").Value = Now
Range("T1").NumberFormat = "dd.mm.yyyy hh:mm:ss"
[s4:t5].NumberFormat = "General"
End Sub
