返回列表 上一主題 發帖

請教連接超過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

        靜思自在 : 不要小看自己,因為人有無限的可能。
返回列表 上一主題