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

½Ð°Ý³o­Óºô­¶¦p¦ó¥ÎWEB¬d¸ß¿é¤Jexcel

½Ð°Ý³o­Óºô­¶¦p¦ó¥ÎWEB¬d¸ß¿é¤Jexcel

http://portal.sw.nat.gov.tw/PPL/pages/integration/layout.jsp?appId=APGQAGB315

¥X¤f³ø³æ¸¹½X¡GBE  02XE580024

§Æ±æ¯à±N¬d¸ßµ²ªG¡A¶×¤JEXCEL¤¤¡A
¤p§Ì¤w¸g°µ¤F¤@­Óiqy,¦p¤U©Ò¥Ü¡A¦ýÁÙ¬OµLªkÅã¥Ü¡A½Ð¦U¦ì¥ý¶iÀ°¦£¡A·P¿E¤£ºÉ¡I
----------------------------------------------------------------------------------------------
WEB
1
http://portal.sw.nat.gov.tw/PPL/pages/integration/layout.jsp?appId=APGQAGB315declNo=BE  02XE580024

Selection=1
Formatting=None
----------------------------------------------------------------------------------------------
Hi~

¿n¤ÀÁÙ¤£°÷><"
¥i¤U¸ü"¬d§ä¼ÐÅÒ.zip" ªº¤j¤j,¥i§_¶Çµ¹¤p§Ì!

E-mail: [email protected]
·P¿E¤£·q~

TOP

·s¤â ­è¥[¤J ¾Ç²ß¤F
ÁÂÁ¤j¤j­Ì ^^

TOP

¦^´_ 72# GBKEE
  1.     Set ie = CreateObject("InternetExplorer.Application")
  2.     ie.Navigate "about:Tabs"
  3.     '  ie.Visible = True
  4.    
  5.     Set shts = ActiveSheet    '  Sheets("¤u§@ªí2")
  6.     shts.Cells.Clear
  7.    
  8.     URL = "http://www.cnyes.com/twstock/Institutional/1101.htm"
  9.     With CreateObject("InternetExplorer.Application")
  10.         '  .Visible = True     '  ¬O§_Åã¥Ü IE
  11.         .Navigate URL
  12.         
½Æ»s¥N½X

TOP

¦^´_ 72# GBKEE
¤£«H¨¸¦A¸Õ¤@¦¸ (Marked «á¥ýÀx¦s¤@¦¸¡A¦A¦æ°õ¦æ)¡C
¨Æ«á¥u¥X²{¹L¤@¦¸"Åv­­°ÝÃD"«á¡A¤@¤Á¤SÂk©ó¥­ÀR (¥¿±`¤F)¡C
³o«K¬O§Ú¨ØªA Microsoft ªº½t¬G¡C

TOP

¦^´_ 72# GBKEE
©Ò¥H»¡¹À¡A³o´N¬O§Ú¤§©Ò¥H¨ØªA Micrsoft ªº¦a¤è¡I
¤£±o¤£ªA®ð¡C

TOP

¦^´_ 71# c_c_lai
2­ÓIE³£¤£Åã¥Ü,2003¦A¶]¤@¦¸,OK!
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 68# GBKEE
«¢«¢¡I
¤Ó²M²n¤F¤]¤£¦æ¡I (¥u¯à²Ä¤@­Ó "ªÅ¥Õºô­¶")

TOP

¦^´_ 68# GBKEE
¨Æ«á·Q·Q¡Aµoı§Q¥Î "ªÅ¥Õºô­¶" ¨Ó°µ¬°Á{®É¾Ô³õ  (¶i¦æ½Æ»s¤u§@)¡A
³o­Ó Idea ÆZ¦nªº¡A¥ç¤£·|¯}Ãa­ì¥»ºô­¶ªº Table ¤º®e¡C
  1.         Set A = .Document.getElementsBytagname("table")
  2.         For x = 1 To 6
  3.             With ie
  4.                 .Document.body.innerHTML = A(x).outerHTML
  5.                 .ExecWB 17, 2       '  Select All
  6.                 .ExecWB 12, 2       '  Copy selection
  7.             End With
  8.             
  9.             With shts
  10.                 .Range("A" & .[A65535].End(xlUp).Row + 1).Select
  11.                 .PasteSpecial Format:="HTML"
  12.             End With
  13.         Next
½Æ»s¥N½X

TOP

¦^´_ 68# GBKEE
»¡ªº¤]¬O¡I
ÁÂÁ«ü¾É¡C

TOP

        ÀR«ä¦Û¦b : ¶¢¤HµL¼Ö½ì¡A¦£¤HµL¬O«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD