- ©«¤l
- 759
- ¥DÃD
- 249
- ºëµØ
- 0
- ¿n¤À
- 1021
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-26
|
¥»©«³Ì«á¥Ñ t8899 ©ó 2017-5-24 20:03 ½s¿è
¦^´_ t8899
³oÓ«Ü°ò¥»¡A«e±³£¦³½d¨Ò¤F¡A¦Û¤v¾Ç²ß
joey0415 µoªí©ó 2017-5-24 19:22
OK¤F, ¤£¹L¡A¥u¤U¸ü³Ì«á¤@Óªí®æ¤£·|
Sub Macro1()
Cells.Clear
ddd = "URL;http://www.twse.com.tw/exchangeR ... onse=html&date=" & Format(Date, "yyyyMMDD") & "&type=ALLBUT0999"
With ActiveSheet.QueryTables.Add(Connection:=ddd, Destination:=Range("$A$1"))
.Refresh BackgroundQuery:=False
End Wit
end sub |
|