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

ÃÒ¥æ©Ò·í¤é¨R¾P¸ê®Æ

ÃÒ¥æ©Ò·í¤é¨R¾P¸ê®Æ

ÃÒ¥æ©Ò2014/01/06¶}©l²{ªÑ·í¤é¨R¾P¸ê®Æ¦p¤U
http://www.twse.com.tw/ch/trading/exchange/TWTB4U/TWTB4U.php
¦ý°_©l­¶¬G©w µLªk³æ¯Â¥ÎEXCEL¶×¤J¥~³¡¸ê®Æ
¥²¶·¿ï¾Ü¤é«á«á «ö"¬d¸ß"¤~·|Åã¥Ü
¦ý§Y¨ÏÅã¥Ü¤F ÁÙ¬OµLªk¶×¤JEXCEL

½Ð°Ý¦³¸Ñ¨M¤è¦¡¶Ü?

¦^´_ 1# chwqk

¤é´Á¦Û¤v§ï

TLBLE¦Û¤v§ï
    Sub Macro1()

    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;http://www.twse.com.tw/ch/trading/exchange/TWTB4U/TWTB4U.php?input_date=103%2F03%2F04&select2=&login_btn=+%ACd%B8%DF+" _
        , Destination:=Range("A1"))
        .WebSelectionType = xlSpecifiedTables
        .WebFormatting = xlWebFormattingNone
       .WebTables = "9,11"
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .Refresh BackgroundQuery:=False
    End With
End Sub

TOP

joey0415
ÁÂÁ°Õ!!

TOP

        ÀR«ä¦Û¦b : ¯¸¦b¥b¸ô¡A¤ñ¨«¨ì¥Ø¼Ð§ó¨¯­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD