Results 1 to 2 of 2

EXCEL VBA: web query from a list of URLs within cells

Threaded View

IDONTTELLYOU EXCEL VBA: web query from a... 04-09-2012, 11:31 PM
Techbiz Re: EXCEL VBA: web query from... 09-11-2012, 01:10 AM
  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    singapore
    MS-Off Ver
    Excel 2000
    Posts
    3

    EXCEL VBA: web query from a list of URLs within cells

    Hi all,

    I have a list of URLs from cell O2 all the way till O100.

    I will be looping the following webquery from URL LOCATION= O2 until URL LOCATION = O100 where all the URLs are located


    With ActiveSheet.QueryTables.Add(Connection:= _
            "URL;[URL LOCATION]" _
            , Destination:=Range("$A$1"))
            .Name = _
             "  "
            .FieldNames = True
            .RowNumbers = False
            .FillAdjacentFormulas = False
            .PreserveFormatting = True
            .RefreshOnFileOpen = False
            .BackgroundQuery = True
            .RefreshStyle = xlInsertDeleteCells
            .SavePassword = False
            .SaveData = True
            .AdjustColumnWidth = True
            .RefreshPeriod = 0
            .WebSelectionType = xlEntirePage
            .WebFormatting = xlWebFormattingNone
            .WebPreFormattedTextToColumns = True
            .WebConsecutiveDelimitersAsOne = True
            .WebSingleBlockTextImport = False
            .WebDisableDateRecognition = False
            .WebDisableRedirections = False
            .Refresh BackgroundQuery:=False
        End With
    HOw do i change the red high lighted part to reference to a cell from another worksheet, maybe "DATA" ?

    thanks
    Last edited by arlu1201; 09-11-2012 at 05:28 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1