- Codice: Seleziona tutto
Sub Pulsante1_Click()
Sheets("1X2").Select
Cells.Select
Selection.ClearContents
'With ActiveSheet.QueryTables.Add(Connection:="TEXT;" _
& fpath & fname, Destination:=Range("A1"))
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://data.nowgoal.com/1x2/index.htm" _
, Destination:=Range("A1"))
.Name = "results"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlEntirePage
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
End Sub
Il problema è che la colonna con la data/ora della partita non viene importata. Grazie dell'aiuto.