[µo°Ý]VBA§ì¨ú.PHP¶°ÝÃD??
- ©«¤l
- 102
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 129
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-16
- ³Ì«áµn¿ý
- 2020-9-2
|
¥»©«³Ì«á¥Ñ lalalada ©ó 2012-8-3 13:58 ½s¿è
¸ô¹L...
¶¶¤âÀ°§A¼g¤F¤@Ó
¥»¨Ó¨ºÓ¦³ÂI¤¾ ¨S¦³»{¯u¬Ý
¤£ª¾¹D³o¬O¤£¬O§Anªº?
¤£¹L¥H«áÁÙ¬O¦Û¤v¼g·|¤ñ¸û¦n³á:)
¨Ï¥Î»¡©ú: 1.¿é¤JªÑ²¼¥N½X 2.¥hC¼Ñ§ä¦P¦WÀÉ®×(.csv)- Sub WrittenByLalalada()
- Set WinHttpReq = CreateObject("Microsoft.XMLHTTP")
- code = Application.InputBox(prompt:= "Written by lalalada", Title:="¿é¤J¥N½X:")
- With WinHttpReq
- .Open "POST", "http://www.gretai.org.tw/ch/stock/statistics/monthly/download_st42.php", False
- .setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
- .Send ("stk_no=" & code)
- Set oStream = CreateObject("ADODB.Stream")
- oStream.Open
- oStream.Type = 1
- oStream.Write WinHttpReq.ResponseBody
- oStream.SaveToFile ("C:\" & code & ".csv")
- oStream.Close
- End With
- End Sub
½Æ»s¥N½X ³Ñ¤Uªº¥\¯à´N¦Û¤v§ïÅo! |
|
|
|
|
|
|
- ©«¤l
- 90
- ¥DÃD
- 16
- ºëµØ
- 0
- ¿n¤À
- 114
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- sp2
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-7-9
- ³Ì«áµn¿ý
- 2018-10-7
|
|
|
|
|
|
|
- ©«¤l
- 32
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 67
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN 7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-7-9
- ³Ì«áµn¿ý
- 2020-12-30
|
¦^´_ 12# lalalada
ÁÂÁ¤j¤jªº¼ö¤ß¤À¨É,§V¤O¾Ç²ß¤¤!! |
|
|
|
|
|
|
- ©«¤l
- 1
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-12-24
- ³Ì«áµn¿ý
- 2013-1-15
|
ÁÂÁ¤j¤jªº¦^µª §Ú¹ïVBA¤S§ó¤F¸Ñ¤F |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- taiwan
- µù¥U®É¶¡
- 2013-1-17
- ³Ì«áµn¿ý
- 2013-3-20
|
½Ð°Ý¤j¤j¡A
³o¬qµ{¦¡¸Ì¥L¬O¦p¦óª¾¹D»Ýnªº®æ¤l¬Oºô¶Åã¥Ü°Ï¸Ìªº²Ä´Xªºªí®æ??
¨Ò¦p: getelementsbytagname("table")(2) 'Åã¥Ü°Ï²Ä3Óªí®æ
¤pªºè¾Ç²ßVBA¡AY¦³µo°Ý¿ù»~½Ð¨£½Ì!!!ÁÂÁ |
|
Nicole
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
½Ð°Ý¤j¤j¡A
³o¬qµ{¦¡¸Ì¥L¬O¦p¦óª¾¹D»Ýnªº®æ¤l¬Oºô¶Åã¥Ü°Ï¸Ìªº²Ä´Xªºªí®æ??
¨Ò¦p: getelementsbytagname ...
¤ô¤¸¯À µoªí©ó 2013-1-17 16:56
n±qºô¶¤Wªº¥N½X¬Ý
.Document.all("rpt_result").getelementsbytagname("table")
VBA¤W·Q§äªº¬Oºô¶¥N½X¤U ID ¬°rpt_result ªº¼ÆÓTABLE:
|
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- taiwan
- µù¥U®É¶¡
- 2013-1-17
- ³Ì«áµn¿ý
- 2013-3-20
|
ÁA¸Ñ¤F!!!
«D±`ÁÂÁÂK¤jªº¹Ï¤å¸Ñ»¡~
³sdata code ³£¸Ñ»¡¤F~¯uªº«D±`²M·¡!! |
|
Nicole
|
|
|
|
|
- ©«¤l
- 11
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2011-9-17
- ³Ì«áµn¿ý
- 2017-4-24
|
¦U¦ì°ª¤â±z¦n
http://www.gretai.org.tw/ch/stock/statistics/monthly/st44.php
»P¤Wzºô¯¸¬ÛÃþ¡A¦ý¥¦¿é¤J®É¦³¤GӰѼơA¥Ø«e§ä¨ìªº°Ñ¼Æ¬O"yy"¡A·Q½Ð±Ð¤@¤U¦pªG¬O¦³stk_no»Pyy¡A¤U±sendªºµ{¦¡¸Ó¦p¦óקï©O? ÁÂÁÂ
.Send ("stk_no=" & code) |
|
|
|
|
|
|
- ©«¤l
- 48
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-8-13
- ³Ì«áµn¿ý
- 2023-2-7
|
¦^´_ 12# lalalada
·PÁ±z´£¨Ñªºvba code¡A¸g´ú¸Õ§¹¥þ¥¿±`¤S¤£»Ýn¶}±ÒIEºô¶¡AȱoÆ[¼¯¾Ç²ß¡I |
|
«Ü©êºp¡A§Ú¬O¤p¾Ç¥Í¡A¤£¯à¤U¸üÀɮסA¬OÓ¤p§¾«Ä¡I
|
|
|
|
|