Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.0 kB
19
Indexable
Never
Sub importowanie()
'
' importowanie Makro
'
' Klawisz skrótu: Ctrl+i
'
    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;http://kursy-walut.mybank.pl", Destination:=Range("$A$1"))
        .Name = "kursy-walut.mybank.pl"
        .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"
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .WebSingleBlockTextImport = False
        .WebDisableDateRecognition = False
        .WebDisableRedirections = False
        .Refresh BackgroundQuery:=False
    End With
End Sub