- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 5# yan2463
¸Õ¸Õ¬Ý ¥ÎVBA¥¨¶°- Option Explicit
- Sub Ex()
- Dim E As Object
- With CreateObject("InternetExplorer.Application")
- .Visible = True
- .Navigate "http://www.yuantaetfs.com/#/RtNav/Index"
- Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
- Application.SendKeys "~", True '«ö¤U¦P·NÁä
- Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
- Set E = .Document.getelementsbytagname("TABLE")(21)
- .Document.body.innerHTML = E.outerHTML
- .execwb 17, 2 ' Select All
- .execwb 12, 2 ' Copy selection
- With ActiveSheet
- .Cells.Clear
- .[A1].Select
- .PasteSpecial 'Format:="HTML"
- End With
- .Quit 'Ãö³¬ºô¶
- End With
- End Sub
½Æ»s¥N½X |
|