返回列表 上一主題 發帖

證交所當日沖銷資料

回復 1# chwqk

日期自己改

TLBLE自己改
    Sub Macro1()

    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;http://www.twse.com.tw/ch/trading/exchange/TWTB4U/TWTB4U.php?input_date=103%2F03%2F04&select2=&login_btn=+%ACd%B8%DF+" _
        , Destination:=Range("A1"))
        .WebSelectionType = xlSpecifiedTables
        .WebFormatting = xlWebFormattingNone
       .WebTables = "9,11"
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .Refresh BackgroundQuery:=False
    End With
End Sub

TOP

        靜思自在 : 真正的愛心,是照顧好自己的這顆心。
返回列表 上一主題