Dim i As Integer, S As Integer, k As Integer, A As Object, II, j
' ¤u§@ªí3.Select
With CreateObject("InternetExplorer.Application")
' .Visible = True
.Navigate "http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report" & SS & "/" & SS & "_F3_1_8_" & MM & ".php&type=list"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
Ep .document.getElementsByTagName("table")(1).outerHTML
On Error Resume Next
.Quit 'Ãö³¬ºô¶
End With
End Sub
Sub Ex_2(SS As String, SS2 As String, MM As Integer)
Dim i As Integer, S As Integer, k As Integer, A As Object, II, j
' ¤u§@ªí3.Select
With CreateObject("InternetExplorer.Application")
' .Visible = True
.Navigate "http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report" & SS & "/" & SS & "_F3_1_8_" & MM & ".php&type=list"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
Ep .document.getElementsByTagName("table")(1).outerHTML
Dim i As Integer, S As Integer, k As Integer, A As Object, II, j
' ¤u§@ªí3.Select
With IE
' .Visible = True
On Error Resume Next
.Navigate "http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report" & SS & "/" & SS & "_F3_1_8_" & MM & ".php&type=list"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
Ep .document.getElementsByTagName("table")(1).outerHTML
Dim i As Integer, S As Integer, k As Integer, A As Object, II, j
' ¤u§@ªí3.Select
With IE
' .Visible = True
.Navigate "http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report" & SS & "/" & SS & "_F3_1_8_" & MM & ".php&type=list"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
Ep .document.getElementsByTagName("table")(1).outerHTML
On Error Resume Next
.Quit 'Ãö³¬ºô¶
End With
End Sub
Sub Ex_2(SS As String, SS2 As String, MM As Integer)
Dim i As Integer, S As Integer, k As Integer, A As Object, II, j
' ¤u§@ªí3.Select
With IE
' .Visible = True
.Navigate "http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY/STOCK_DAY_print.php?genpage=genpage/Report" & SS & "/" & SS & "_F3_1_8_" & MM & ".php&type=list"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
Ep .document.getElementsByTagName("table")(1).outerHTML