- ©«¤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-7-27 15:58 ½s¿è
ÃÒ¥æ©Òºô¯¸³ºµM§ïª©¤F£½£¿ ¤~è¼g¦nªº»¡
§¹¥þ¨S¦³·s¤âªº¦n¹B....
ActiveSheet.name = sheetname
webURL = "URL; http://bsr.twse.com.tw/bshtm/bsContent.aspx? StartNumber=2498&FocusIndex=All_21"
'webURL = "URL; http://bsr.twse.com.tw/bshtm/bshtm_report_Messages.aspx? StartNumber=2498&FocusIndex=All_100" ¦ì§}·|´«!
With ActiveSheet.QueryTables.Add(Connection:=webURL, Destination:=Range("A1"))
.PreserveFormatting = True
.RefreshStyle = xlInsertDeleteCells
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
End With
¤¤¶¡¦³¦æµù¸Ñ´N¬O²Ä¤@¦¸§ïª©ªº¨£ÃÒ....''(§ïºô§})
¦Ó³o¦¸§ïª©«á ¥»¨Ó¨Ï¥Î http://bsr.twse.com.tw/bshtm/bsC ... ;FocusIndex=All_100
´N¥i¥H¾A¥Î¨C¤äªÑ²¼ ¥un§ï¥N½X´N¦n
¦ý¬O²{¦bn«ü©w¶¼Æ
¤ñ¦p3008ªº¸ê®Æ¦@20¶ http://bsr.twse.com.tw/bshtm/bsC ... p;FocusIndex=All_20
«hALL«á±¿é¤J1~20³£§ì±o¨ì ¶W¹L20«hµLªkŪ¨ú
¤£ª¾¹D¯à¤£¯à§ä¥Xºô¯¸¨M©w¶¼Æªº¤èªk©O?
¤S §Ú¦bºô¯¸ì©l½X view-source:http://bsr.twse.com.tw/bshtm/bsMenu.aspx ¤¤µo²{
// window.open("bshtm/"+ HiddenField_spDate +"/"+ document.getElementById("hidTASKNO").value+"/"+ document.getElementById("hidTASKNO").value+".csv");
window.open("bsContent.aspx?StartNumber=" + document.getElementById("hidTASKNO").value + "&download=csv");
ªí¥Ü¦³csvÀɧ@¬°ºô¶¸ê®Æ·½?¦³¨S¦³¿ìªk§ì¨ì©O?
·Pı·|¬O¤ñ¸û¤@³Ò¥Ã¶hªº°µªk ¥B¤U¸ücsv·|¤ñ¬d¸ß§Ö«Ü¦h
·P¿E¤£ºÉ!
°ÝÃD¤w¸Ñ¨M! ¶¶«KפF¤@¤U쥻¶Kªºµ{¦¡½X §â¤Ó¶ÃµLÃöªº³¡¤À§R±¼¤è«K¤j®a¬Ý@@ |
|