+ Reply to Thread
Results 1 to 3 of 3

VBA code to retrieve information from sub-pages if they exist

  1. #1
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    VBA code to retrieve information from sub-pages if they exist

    Hello everyone!
    I've searched for several hours with no luck.What I'd like to do is this:I have a vba code with the help of this code i am able to get data from web page but i am able to get data from one page only if there is more than one page then i want navigate to next page if they exist move to the next page and get data and repeat.

    Please Login or Register  to view this content.
    My vba code

    Please Login or Register  to view this content.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: VBA code to retrieve information from sub-pages if they exist

    Hi xlhelp,

    The function you are seeking is in Power Query. You can download it as an Excel add-in.

    https://www.mattmasson.com/2014/11/i...g-power-query/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    Re: VBA code to retrieve information from sub-pages if they exist

    Hi MarvinP,

    Thank you for your reply - much appreciated.

    what i am trying is possible by doc.getElementsByClassName?

    Regards,

    Xlhelp7

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need vba code to print specific pages or all pages in a multipage UserForm
    By Pimp_mentality in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-24-2020, 08:13 PM
  2. To retrieve certain information from one cell to next
    By Hairoil5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2016, 04:54 PM
  3. VBA code to retrieve information from a spreadsheet onto a userform
    By fiddly69 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2015, 04:16 AM
  4. [SOLVED] Check First IF Sheet Is Exist With The Name Of Cell K7 If exist Then run the code
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2015, 10:08 AM
  5. Need Help with VBA code to retrieve information from a range of cells
    By Knitty in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2009, 12:57 AM
  6. retrieve information
    By just1creation in forum Excel General
    Replies: 1
    Last Post: 10-26-2006, 02:46 PM
  7. Replies: 0
    Last Post: 09-09-2005, 01:05 PM

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