返回列表 上一主題 發帖

請教交易所除權除息直接抓入工作表?

請教交易所除權除息直接抓入工作表?

http://www.twse.com.tw/zh/page/trading/exchange/TWT48U.html  
照除權日期由小到大排序

已解決
Sub 交易所除息()
    Application.ScreenUpdating = False
    Sheets("Sheet1").Select
Cells.ClearContents
ddd = "URL;http://www.twse.com.tw/exchangeReport/TWT48U?response=html"
With ActiveSheet.QueryTables.Add(Connection:=ddd, Destination:=Range("$A$1"))
.Refresh BackgroundQuery:=False
End With
end sub

TOP

        靜思自在 : 【時間無法遮擋】怕時間消逝,花了許多心血,想盡各式方法要遮擋時間,結果是:浪費了更多時間,且一無所成!
返回列表 上一主題