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

[µo°Ý] ¦n¥Îªº­ÓªÑ¬d¸ß¡AVBA¸Ó¦p¦ó¼g???

[µo°Ý] ¦n¥Îªº­ÓªÑ¬d¸ß¡AVBA¸Ó¦p¦ó¼g???

½Ð°Ý¦pªG·Q¬d¸ß¦p¤Uªººô§}¸ê®Æ¡A¥ÎExcel¶×¤J¥~³¡¸ê®Æ¤]¤£¦æ¡A½Ð°Ý¦³°ª¤â¯à«üÂI¤@¤U¡AVBA¸Ó¦p¦ó¼g???

ºô§}¦p¤U¡Ghttp://www.twse.com.tw/pdf/ch/2330_ch.pdf

§Ú¹Á¸Õ¥Î iqy ¬d¸ß¡A¦ý¥X²{³£¬O¶Ã½X¡AÀɮצp¤U¡G

finance_all.rar (155 Bytes)
Henry

¨º¬OPDF ÀÉ®× À³¸Ó¤£¯à¼g§a
¥i¥H§ä¤@¨ÇÃÒ¨÷ºô¯¸ ¼g¦¨Ãþ¦ü®æ¦¡ ¬O¦³¥i¯àªº

TOP

´£¨Ñ¦Û¤v¼gªºµ{§Ç,¸Õ¹L ¬O¥i¥Îªº
Public Sub download_pdf()
    Dim myURL As String
    Dim WinHttpReq As Object
   
    Set WinHttpReq = CreateObject("Microsoft.XMLHTTP")
    myURL = "http://www.twse.com.tw/pdf/ch/2330_ch.pdf"
    WinHttpReq.Open "GET", myURL, False
    WinHttpReq.Send

        myURL = WinHttpReq.ResponseBody
        If WinHttpReq.Status = 200 Then
            Set oStream = CreateObject("ADODB.Stream")
            oStream.Open
            oStream.Type = 1
            oStream.Write WinHttpReq.ResponseBody
            oStream.SaveToFile ("E:\2330_ch.pdf")
            oStream.Close
        End If
   End Sub

¤£¥updfÀÉ®×¥i¥Î,µy§@­×§ï«á,ÁÙ¥i¥Î©ó¤U¸üªÑ²¼csvÀÉ

TOP

½Ð°Ý­n¦p¦ó±Npdf Âରcsv
ÁÂÁ¡ã

TOP

´£¨Ñ¦Û¤v¼gªºµ{§Ç,¸Õ¹L ¬O¥i¥Îªº
Public Sub download_pdf()
    Dim myURL As String
    Dim WinHttpR ...
ltwinery µoªí©ó 2012-12-12 22:01



    ÁÙº¡¦³·N«ä¡A¯uªº¥i¥H¥Îªº¡A¯uÁÂÁ¡A«Ü¦nªº¤èªk¡I
¤H¥Í¥u¦³¤T¤Ñ¡A¥u¦³¬¡¦b¤µ¤Ñ³Ì½ñ¹ê

TOP

´£¨Ñ¦Û¤v¼gªºµ{§Ç,¸Õ¹L ¬O¥i¥Îªº
Public Sub download_pdf()
    Dim myURL As String
    Dim WinHttpR ...
ltwinery µoªí©ó 2012-12-12 22:01


·PÁÂltwinery¤j¶}©ñVBA°¨Åý§Ú­Ì³o¨Ç¥¼¹FÅv­­ªÌ¤]¥i¬Ý¨ì.
·Q½Ð±Ð­Y·Q±NªÑ²¼¥N¸¹§ï¦¨°ÊºAªº¸Ü.­n¦p¦ó§ï?.ÁÂÁÂ..
¦~ÄÖ¤£¤p,¦ý§Ú«Ü·Q¾Ç

TOP

¦pªG¥u­n¤U¸üªÑ»ù¡AÀ³¸Ó¥i¥H¨ìºô¯¸¤Wª½±µ¤U¸ü¡C
¨Ò¦p¥x¿n¹qªº³¡¤À
http://finance.yahoo.com/q?s=2330.TW

TOP

        ÀR«ä¦Û¦b : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD