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

[µo°Ý] ¤U¸ü¤j¶qºô­¶

[µo°Ý] ¤U¸ü¤j¶qºô­¶

¥»©«³Ì«á¥Ñ jak ©ó 2012-10-2 13:06 ½s¿è

§Ú·Q­nÂ^¨ú³o­Óºô­¶¨C¤@®a¤W¥«Âd¤½¥qªº¸ê®Æ
http://jsjustweb.jihsun.com.tw/z/zc/zcj/zcj_1101.djhtm
¤~­è¾ÇVBA,¼g¤£¥XªF¦è½Ð¤j®a«ü±Ð,
¥H¤U¬O°Ñ¦Ò¦U¦ì«e½ú­Ì¼gªºµ{¦¡´ê¥X¨Óªº,ÁٽЫe½ú­Ì¨£½Ì

Sub Test()
Dim url As String
Stk = [A1].Value
url = "http://jsjustweb.jihsun.com.tw/z/zc/zcj/zcj_" & Stk & ".djhtm"
Cells.Clear
    Set ie = CreateObject("internetexplorer.application")
    With ie
        .Visible = False
        .Navigate url
        Do While .ReadyState <> 4
            DoEvents
        Loop
        .ExecWB 17, 2
        .ExecWB 12, 2
        Sheets("Sheet1").Cells.Select
        Range("A1").Activate
        ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
                False, NoHTMLFormatting:=True
    End With
    Columns("A:B").Delete
    ie.Quit
    MsgBox
End Sub

¦bSHEET1ªºA1¿é¤J¸¹½X,¥u¯à¤@®a¤@®a¤U¸ü,­n¦p¦óÅý¥¦¦Û°Ê¤j¶q¤U¸ü©O?

        ÀR«ä¦Û¦b : ¤Hªº¤ß¦a¬O¤@²¥¥Ð¡A¤g¦a¨S¦³¼½¤U¦nºØ¤l¡A¤]ªø¤£¥X¦nªºªG¹ê¡C -
ªð¦^¦Cªí ¤W¤@¥DÃD