¤j¤j ½Ð°Ý³oºØºô¯¸¸Ó«ç»ò¼gvba§ì¤U¨Ó
- ©«¤l
- 78
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 109
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-5-15
- ³Ì«áµn¿ý
- 2018-9-16
|
¤j¤j ½Ð°Ý³oºØºô¯¸¸Ó«ç»ò¼gvba§ì¤U¨Ó
http://www.sitca.org.tw/ROC/Industry/IN2629.aspx?pid=IN22601_04
¤j¤j§Ú·Q·Q§ì³oºô¯¸ªº¸ê®Æ
¦ý¬O «ç»ò´N¬O¶¤£¶i¥h
½Ð°Ý¦³¤j¤j ª¾¹D«ç°µ¶Ü? |
|
|
|
|
|
|
- ©«¤l
- 78
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 109
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-5-15
- ³Ì«áµn¿ý
- 2018-9-16
|
¤j¤j¤U±µ{¦¡½X ¥i¥H¥Î
¦ý¬O¦pªGn«ü©w¬°·í¤Ñ¤é´Á¸Ó«ç»ò§ï...½Ð¨ó§U¤@¤U¤p§Ì
¦pªGn¤U¸ü ²{ªÑ·í¨R±o³oºô¯¸¸Ó§ïþ¸Ì©O?
http://www.twse.com.tw/ch/trading/exchange/TWTB4U/TWTB4U.php#
Sub §Úex()
With CreateObject("internetexplorer.application")
.Visible = True
.Navigate "http://www.twse.com.tw/ch/trading/exchange/MI_MARGN/MI_MARGN.php"
Do Until .ReadyState = 4
DoEvents
Loop
.Document.getElementById("date-field").Value = "104/12/21" '¶ñ¤J
'---------¡A¤º«Øªºfireevent ªºonchange¥¢®Ä¡A§ï¥Î½Õ¥Îjsªº¤èªk--------
Set evt = .Document.createEvent("HTMLEvents")
evt.initEvent "change", True, False
Set lst = .Document.all("selectType") 'optionªºname??selectType¡A¦ýgetElementsByNameµLªk³B²z¡Anall¤~¦æ
lst.selectedIndex = 1
lst.dispatchEvent evt
.Document.all("query-button").Click
Do While .ReadyState <> 4 Or .Busy: DoEvents: Loop
Application.Wait Now + TimeValue("00:00:5")
' Stop
'For Z = 0 To 10
'MsgBox .Document.getElementsByTagName("table")(Z).innerText
'Next
' Stop
Set hTable = .Document.getElementsByTagName("table")(4) '²Ä4Ótable
tt = hTable.Rows.Length
qq = hTable.Rows(2).Cells.Length
With ActiveSheet
For i = 3 To hTable.Rows.Length - 1 '«e3Ó??¼ÐÃD»PªÅ¥Õ¸õ¹L
For j = 0 To hTable.Rows(i).Cells.Length - 1
.Cells(i - 2, j + 1) = hTable.Rows(i).Cells(j).innerText
Next
Next
End With
.Quit
' MsgBox "OK"
End With |
|
|
|
|
|
|