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

[µo°Ý] ½Æ»sºô­¶¸ê®Æ¨Ã¶K¤J¤u§@ªí¤º

[µo°Ý] ½Æ»sºô­¶¸ê®Æ¨Ã¶K¤J¤u§@ªí¤º

¥»©«³Ì«á¥Ñ gugi001 ©ó 2013-5-6 15:53 ½s¿è

¦U¦ì¥ý¶i¦n
§Ú·Q§Q¥Î¥¨¶°ªº¤è¦¡§â¦Ò¿ï³¡ªºº]³æ
½Æ»s¨Ã¶K¤JEXCEL¤º

¤U¬qcode ¬°ª¦¤å«á§ä¨ìªºµ²ªG

´ú¸Õ«áµo²{  
ExecWB ªº½Æ»s¶K¤W
¦ü¥GµLªk¨Ï¥Î¦b½u¤WÀ˵øªºPDFÀÉ®×
¤£ª¾¹D¦³¨S¦³¨ä¥Lªº¸Ñ¨M¤èªk
ÁÂÁÂ


ªþ¤Wcode
  1. url = "http://wwwc.moex.gov.tw/main/Exam/FileHandler.ashx?F=102&N=1_10204000401.pdf&T=L&Code=102040&Sequence=1"
  2.    
  3.     Set ie = CreateObject("internetexplorer.application") '¨Ï¥Î¦¹¤è¦¡¥i¥H§K°£ "³]©w¤Þ¥Î¶µ¥Ø"
  4.     With ie
  5.         .Visible = True 'True¬°¶}±Òie, False¬°¤£¶}±Òie
  6.         .Navigate url

  7.     Do While .ReadyState <> 4 'µ¥«Ýºô­¶¶}±Ò
  8.         DoEvents
  9.     Loop

  10.         .ExecWB 17, 2 'Select All
  11.         .ExecWB 12, 2 'Copy selection
  12.         '^^^^^^^^¦¹³BµLªk¹B¦æ
  13.         Range("A1").Activate
  14.         ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
  15.                 False, NoHTMLFormatting:=True
  16.     End With
½Æ»s¥N½X

¤£¦n·N«ä ÂǼÐÃD¦A°Ý¤@¤U
¦pªG¬O¤½¥q¦~³ø¦p¤U
http://doc.twse.com.tw/pdf/201001_2330_A02_20130507_113011.pdf

¨S¦³³QÂê¦íªºÀÉ®×
¸Ó¦p¦ó¨Ï¨ä¦Û°Ê½Æ»s¨Ã¶K¤J¤u§@ªí¤º©O  
ÁÂÁÂ

TOP

ÁA¸Ñ¤F   ÁÂÁª©¥D.....  ¬Ý¨Ó¥u¦n¤â°Ê¦Û¤v§ì¤F

TOP

¦^´_ 1# gugi001

¸ÓpdfÀ³¸Ó¬O¦³³]¸m«O¥þµLªk½Æ»s
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¤H¥Í³Ì¤jªº¦¨´N¬O±q¥¢±Ñ¤¤¯¸°_¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD