- 帖子
- 60
- 主題
- 26
- 精華
- 0
- 積分
- 93
- 點名
- 0
- 作業系統
- Windows
- 軟體版本
- Windows 7
- 閱讀權限
- 20
- 註冊時間
- 2014-9-8
- 最後登錄
- 2020-4-15
|
回復 2# GBKEE
GBKEE前輩您好 小弟初學 VBA 針對以下程式碼想加以了解
xadte = DateAdd("yyyy", -1, Date) '日期(起):
'執行此行的目的是??
With CreateObject("InternetExplorer.Application")
'此行是否開啟InternetExplorer APP ??
.Visible = True
.Navigate "http://pchome.megatime.com.tw/stock/sid9907.html"
'此行是將InternetExplorer輸入網址嗎??
Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
'此行當中的 .Busy Or .ReadyState <> 4: DoEvents: Loop甚麼意思??
Set E = .document.getElementsByTAGName("TABLE")(4)
'此行是定義甚麼意思
End With |
|