DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub VERİLERİ_AL()
Dim X As Long, URL_LİNK As String
Application.ScreenUpdating = False
Sheets("ANALİZ").Cells.Delete
For X = 1 To Sheets("ANA_SAYFA").Range("A65536").End(3).Row
URL_LİNK = Sheets("ANA_SAYFA").Cells(X, 1)
With Sheets("ANALİZ").QueryTables.Add(Connection:="URL;" & URL_LİNK, Destination:=Sheets("ANALİZ").Range("A65536").End(3)(2))
.Name = "hisse_kapanis.asp?h=A&gun=25&ay=09&yil=2009"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "20,""tblIMKB100ustband"",32,33"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = True
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
Next
Sheets("ANA_SAYFA").Select
Application.ScreenUpdating = True
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub