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

[µo°Ý] µLªk¶×¤JPCHOME ªÑ¥«¸ê®Æ

½Ð°Ý¦U¦ì¤j¤j,¬°¤°»ò§Ú³o¼Ë¼g¨S¦³¿ìªk§ì¨ú pchome ªÑ²¼±Æ¦æ
¦p¥H¤Uºô§}: http://pchome.megatime.com.tw/rank/sto0/ock08.html
³£·|§ì¨ìªÅ¥Õ,
Sub §ì¨C¤ëÀ禬(weburl As String)
    Sheets("Temp").Activate           
                                      
    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;" & weburl, Destination:=Range("A1"))
         .FieldNames = True
        .RowNumbers = False
        .FillAdjacentFormulas = False
        .PreserveFormatting = True
        .RefreshOnFileOpen = False
        .BackgroundQuery = True
        .RefreshStyle = xlInsertDeleteCells
        .SavePassword = False
        .SaveData = True
        .AdjustColumnWidth = True
        .RefreshPeriod = 0
        .WebSelectionType = xlSpecifiedTables
        .WebFormatting = xlWebFormattingNone
        .WebTables = "7"
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .WebSingleBlockTextImport = False
        .WebDisableDateRecognition = False
        .WebDisableRedirections = False
        .Refresh BackgroundQuery:=False

    End With
End Sub

TOP

Hi GBKEE¤j¤j:

§A¤Ó±j¤F,³o¥i¥H¥Î
«D±`ÁÂÁ§A!!,
¤£¹L³o¬O¬°¤°»ò©O??

thanks

TOP

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD