Results 1 to 5 of 5

Fetching Data from website

Threaded View

  1. #1
    Registered User
    Join Date
    06-20-2014
    Location
    Dharwad
    MS-Off Ver
    2007
    Posts
    2

    Fetching Data from website

    I have list of url in a column. I want to fetch data from all the links and store it in a excel sheet.
    I have written code, the code fetches only 1 links data at a time. I want to loop that vba macro and fetch all the data at a time. Im pasting my code, im new to vba please someone help me. Thanks in advance.

    
    
    Sub FetchData()
      With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;http://www.zoopla.co.uk/find-agents/estate-agents/company/cadman-homes-uk-ltd-9011/,", Destination:=Range("$G$1"))
    
        .FieldNames = True
        .RowNumbers = True
        .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
    End Sub
    Last edited by catchanil; 06-20-2014 at 09:46 AM. Reason: code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. data fetching from website
    By nitin.s@itm.edu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-27-2013, 01:25 PM
  2. fetching data from search results from a website using cell contents?
    By Cutters in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2012, 07:29 AM
  3. Opening website, getting data, closing website
    By beta_leonis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2012, 03:50 AM
  4. Data fetching
    By shivarajm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2012, 12:32 PM
  5. Fetching data from another WS
    By Jhedge in forum Excel General
    Replies: 4
    Last Post: 01-17-2007, 12:45 AM

Tags for this Thread

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