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

¦p¦ó±Nºô¯¸¤ºªº¤é´Á°µ¦¨¦bexcel¥Î¦Û°Ê¿é¤J

Sub Test()
URL = "http://www.twse.com.tw/ch/trading/exchange/MI_INDEX/genpage/Report" & [a1] & "/A112" & [a2] & "ALLBUT0999_1.php?"
Shell "explorer " & URL, 0
End Sub

a1Àx¦s®æ©ñ201108
a2Àx¦s®æ©ñ20110118

TOP

x = [a1]
y = [a2]
With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;http://www.twse.com.tw/ch/tradin ... NDEX/genpage/Report" & x & "/A112" & y & "ALLBUT0999_1.php?" _
        , Destination:=Range("b1"))
        .Name = "19"
        .FieldNames = True
«á­±³£¤£ÅÜ¡C°õ¦æ±¡§Î¬Ý¹Ï¡G
q.gif

TOP

        ÀR«ä¦Û¦b : ¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£­n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD