- ©«¤l
- 3
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 4
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 32
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-5-6
- ³Ì«áµn¿ý
- 2013-10-22
|
[µ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- url = "http://wwwc.moex.gov.tw/main/Exam/FileHandler.ashx?F=102&N=1_10204000401.pdf&T=L&Code=102040&Sequence=1"
-
- Set ie = CreateObject("internetexplorer.application") '¨Ï¥Î¦¹¤è¦¡¥i¥H§K°£ "³]©w¤Þ¥Î¶µ¥Ø"
- With ie
- .Visible = True 'True¬°¶}±Òie, False¬°¤£¶}±Òie
- .Navigate url
- Do While .ReadyState <> 4 'µ¥«Ýºô¶¶}±Ò
- DoEvents
- Loop
-
- .ExecWB 17, 2 'Select All
- .ExecWB 12, 2 'Copy selection
- '^^^^^^^^¦¹³BµLªk¹B¦æ
- Range("A1").Activate
- ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
- False, NoHTMLFormatting:=True
- End With
½Æ»s¥N½X |
|