ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ½Ð±Ð ¦p¦ó¦bEXCELL¨ú±o¸Óºô¯¸¤§"§Y®É¦ô­p²b­È"

¦^´_ 11# GBKEE
§Úªº°ÝÃD¬O­n°µ­Ó²³æªº«ö¶s¤§EXCELLµ{¦¡ ·íÂI«ö¶s´N¯à¦Û°Ê§ó·sEXCELL¤º¤§"§Y®É¦ô­p²b­È"  À³¸Ó¬O¤£¦Pªº±¡§Î§a!  ¦ýÁÙ¬O«D±`ªº·PÁ±zªº¦^ÂÐ

TOP

¥»©«³Ì«á¥Ñ no3-taco ©ó 2015-7-19 11:28 ½s¿è

°Ñ¦Ò¬Ý¬Ý
±qª©¤jµ{¦¡½X¦Aµy·L­×§ïªº¦a¤è
  1. Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  2. 'Application.SendKeys "~", True   '«ö¤U¦P·NÁä  =>¬Ù²¤¤]¥i¥H
  3. Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  4. Wait Now + #12:00:01 AM#     =>¦n¹³¯Ê¤@­Óµ¥«Ý®É¶¡
  5. .
  6. .
  7. .
  8. .PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:=False, NoHTMLFormatting:=True
  9. .
  10. .
½Æ»s¥N½X

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2015-7-19 10:39 ½s¿è

¦^´_ 6# lcctno
http://forum.twbts.com/thread-14577-1-1.html  ·|¬O¦P¼Ëªº°ÝÃD¶Ü
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 1# yan2463

½Ð°Ý±zªº°ÝÃD¸Ñ¨M¤F¶Ü?
¯à§_À°ªì¾ÇªÌªº§Ú °µ­Ó²³æªº«ö¶s¤§EXCELLµ{¦¡ ·íÂI«ö¶s´N¯à¦Û°Ê§ó·sEXCELL¤º¤§"§Y®É¦ô­p²b­È"
¥ýÁÂÁ±z¤F
¥Ñ©ó§Úªº¯Å¼Æ«Ü§C µLªk¦b¦¹¤U¸ü ­Y±z©Î¦³¬Ý¨ì³o¦^ÂаT®§¤§°ª¤â ­YÄ@·NÀ°§Ú ³Â·Ð¨p°T§Ú §Ú±N§i¶D±z§Úªºmail

TOP

¦^´_ 6# GBKEE

½Ð°Ý §Ú¨Ì·Ó±zªº¤º®e°µ¦¨VBA¤§«ö¶s ¦ýÂI«ö¶s ¥u·|¦Û°Ê¶}±ÒIE¨ì¨ººô¯¸ ¨Ã¤£·|¦Û°Ê§âDATA¶×¤J§ÚªºEXCELL¤º??
§Ú¬O­n¯à¦Û°Ê¶×¤JDATA¨ìEXCELL¤º §ÚªºµLª¾(ªì¾ÇªÌ) ÁٽбzÀ°¦£¸Ñ´b ÁÂÁ±z¤F

TOP

¦^´_ 6# GBKEE

ÁÂÁÂ

TOP

¦^´_ 5# yan2463
¸Õ¸Õ¬Ý ¥ÎVBA¥¨¶°
  1. Option Explicit
  2. Sub Ex()
  3.     Dim E As Object
  4.     With CreateObject("InternetExplorer.Application")
  5.         .Visible = True
  6.         .Navigate "http://www.yuantaetfs.com/#/RtNav/Index"
  7.         Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  8.         Application.SendKeys "~", True   '«ö¤U¦P·NÁä
  9.         Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  10.         Set E = .Document.getelementsbytagname("TABLE")(21)
  11.          .Document.body.innerHTML = E.outerHTML
  12.         .execwb 17, 2       '  Select All
  13.         .execwb 12, 2       '  Copy selection
  14.         With ActiveSheet
  15.             .Cells.Clear
  16.             .[A1].Select
  17.             .PasteSpecial 'Format:="HTML"
  18.         End With
  19.         .Quit        'Ãö³¬ºô­¶
  20.     End With
  21. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# jackyq

ÁÂÁ§A

TOP

¦^´_ 2# lukychien


    ¤£¬O,¬O­n¶×¤J«ö¦P·N«áªº§Y®É¹w¦ô²b­È

TOP

excel ¬OµLªk¦Y JAVASCRIPT ±±¨îªººô­¶

TOP

        ÀR«ä¦Û¦b : §g¤l¦p¤ô¡AÀH¤è´N¶ê¡AµL³B¤£¦Û¦b¡C
ªð¦^¦Cªí ¤W¤@¥DÃD