- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003©Î2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2014-11-20
- ³Ì«áµn¿ý
- 2014-12-24
|
³Ìªñ»Ýn±N¬YÓºô¶ªº¸ê®Æ¹B¥Î¨ìexcelÀɤ¤¡A«oµo²{¤£¯à§Q¥Îexcel"¸ê®Æ"-->"¶×¤J¥~³¡¸ê®Æ"-->"·s¼Wweb¬d¸ß"ªº¤è¦¡ª½±µ¶×¤J
·|¥X²{"¦¹web¬d¸ß¨S¦³¦^¶Ç¸ê®Æ"ªº´£¥Ü¡Aª¦¤å«áµo²{¥i¥H¥ÎVBA¨Ó¶×¤J
§Ú»Ýn§ì¨úªº°]°È¸ê®Æºô§}¦p¤U
http://jsjustweb.jihsun.com.tw/z/zc/zcr/zcr0_2891.djhtm
¦ý¬O¤p§Ì¾ÇÃÀ¤£ºë¡AÁöµM¦³§ä¨ìGBKEE¤j¤j«ü¾É¨ä¥L¤Hªºµ{¦¡½X(http://forum.twbts.com/viewthread.php?tid=7586)
¦ýª½±µ×§ïµ{¦¡½Xªº¤º®e¤§«á¡A¤´¥u¯àÅã¥Ü²Ä¤@¦æ¸ê®Æ´N·|¥X²{¿ù»~"¨S¦³³]©wª«¥óÅܼƩÎWith°Ï¶ôÅܼÆ"
µ{¦¡½X¦p¤U- Sub Ex()
- Dim xlVbTable As Object, Ar, R As Integer, C As Integer
- With CreateObject("InternetExplorer.Application")
- .Visible = True
- .Navigate "http://jsjustweb.jihsun.com.tw/z/zc/zcr/zcr0_2891.djhtm"
- Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
- Set xlVbTable = .document.getelementsbytagname("table")(11)
- Ar = Split(xlVbTable.Rows(0).Cells(0).innerText, Chr(10))(1)
- With ActiveSheet
- .Cells(1, 1) = Mid(Ar, 1, InStr(Ar, ":"))
- .Cells(1, 2) = Mid(Ar, InStr(Ar, ":") + 1, 9)
- For R = 1 To xlVbTable.Rows.Length - 1
- For C = 0 To xlVbTable.Rows(1).ALL.Length - 1
- .Cells(R + 1, C + 1) = xlVbTable.Rows(R).Cells(C).innerText
- Next
- Next
- End With
- .Quit
- End With
- End Sub
½Æ»s¥N½X ¤£ª¾¹DGBKEE¤j¤j¯à§_À°¦£¬Ý¤@¤U
·P®¦ |
|