返回列表 上一主題 發帖

請教連接超過4秒沒成功,就跳出要如何修改?

請教連接超過4秒沒成功,就跳出要如何修改?

sub abc123()
    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"))
.WebTables = "1"
.Refresh BackgroundQuery:=False
End With
end sub

        靜思自在 : 【做人的開始】每一天都是故人的開始,每一個時刻都是自己的警惕。
返回列表 上一主題