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

[µo°Ý] vba ±qºô­¶¤W¨ú¸ê®Æ®É¨S¦³¤FªÅ®æ

[µo°Ý] vba ±qºô­¶¤W¨ú¸ê®Æ®É¨S¦³¤FªÅ®æ

Sub horsehkQP()
    Dim A As Object
    With CreateObject("InternetExplorer.Application")
        .Visible = True
        .Navigate "http://bet.hkjc.com/racing/pages/odds_wpq.aspx?date=19-06-2016&venue=ST&raceno=1"
        Do While .Busy Or .readyState <> 4: DoEvents: Loop
        Set A = .Document.getElementsByTagName("table")
        Application.Wait Time + #12:00:02 AM#
        .ExecWB 17, 2       '  Select All
        .ExecWB 12, 1       '  Copy selection
        With ActiveSheet
            .UsedRange.Delete
            .Range("A1").Select
            .Paste
            .Range("A1").Select
        End With
        .Quit        'Ãö³¬ºô­¶
    End With
End Sub

§Ú¨Ï¥Î¥H¤WVBA ¨ú¸ê®Æ®É
³s¾Æ¤Î¦ì¸mQ ¹Ïªí¤¤ªºªÅ®æ¥þ³£¤£¨£¤F,
§Ú·Q½Ð°Ý¤j®a¦b¶K¤W®É¦p¦ó«O¯dªÅ®æ. ÁÂÁ¸ѵª


¥t¥~ªº,
¦pªG§Ú·Q¦b¥H¤Uºô­¶¤¤¨ú "§ëª`ÃB" ¤¤ªº¸ê®Æ VBA ­n¦p¦ó¼g
http://bet.hkjc.com/racing/pages/odds_tce.aspx?date=16-06-2016&venue=S2&raceno=2

¦]¬°¶i¤Jºô­¶«áÁÙ­n «ö¤U  "§ëª`ÃB" ªº«öÁä,
ª½±µCOPY ¤£¦æ,
ÁÂÁ¸ѵª

½Ð¤j®aÀ°À°¦£§a

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD