DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A:A")) Is Nothing Or Target.Cells.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
Application.EnableEvents = False
Set s2 = Sheets("Sayfa2")
s2.Cells.ClearContents
With s2.QueryTables.Add(Connection:= _
"URL;file:///" & ThisWorkbook.Path & Target.Text & ".html", Destination:=s2.Range("$A$1" _
))
.Name = ""
.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 = "1,3"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
Cells(Target.Row, "B") = s2.Range("F3")
Cells(Target.Row, "C") = s2.Range("F4")
Cells(Target.Row, "D") = s2.Range("C6")
Cells(Target.Row, "E") = s2.Range("C7")
Cells(Target.Row, "F") = s2.Range("A12")
Cells(Target.Row, "G") = s2.Range("B12")
Cells(Target.Row, "H") = s2.Range("E12")
Cells(Target.Row, "I") = s2.Range("F12")
Cells(Target.Row, "J") = s2.Range("G12")
Cells(Target.Row, "K") = s2.Range("H12")
Application.EnableEvents = True
End Sub
"URL;file:///" & ThisWorkbook.Path [COLOR="Red"]& "/" &[/COLOR] Target.Text & ".html", Destination:=s2.Range("$A$1" _
))