+ Reply to Thread
Results 1 to 3 of 3

Extract data after specific text from webpage

  1. #1
    Forum Contributor
    Join Date
    12-14-2017
    Location
    birmingham, england
    MS-Off Ver
    2016
    Posts
    102

    Extract data after specific text from webpage

    Hi,

    I was wondering if there was a way to extract a specific line of text from a webpage and return it to a cell.
    I currently have a working formula to extract all of the text from the page, but i could do with it only pasting the line "Unit per box:" and the number following that.

    The VBA im using is:

    Please Login or Register  to view this content.
    This searches the website with the gap in the url being filled with the data in A1 and then pastes all of the text from that page.

    At the moment, ive just put a formula in C1 that looks at all the text pasted and returns the correct info after the ":" symbol:
    =RIGHT($A$275,LEN($A$275)-FIND(": ",$A$275)) ), but below that is ALL of the text from the page.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Extract data after specific text from webpage

    marcosis,

    You say it won't let you write the url... you mean the site won't accept it? if so could you provide it like this? www dot google dot com
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    12-14-2017
    Location
    birmingham, england
    MS-Off Ver
    2016
    Posts
    102
    Quote Originally Posted by Arkadi View Post
    marcosis,

    You say it won't let you write the url... you mean the site won't accept it? if so could you provide it like this? www dot google dot com
    Hey Arkadi!

    Www dot arqadia dot Co dot uk

    If you select any moulding or frame on that website you'll see a unit or box. That's what I need.

    Cheers

+ 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. Getting specific text from webpage.
    By arnolduzzz in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-22-2017, 12:48 PM
  2. Extract data from webpage at a specific time
    By Trader1 in forum Excel General
    Replies: 1
    Last Post: 07-15-2014, 09:08 AM
  3. [SOLVED] Load webpage on TOPMAN website, extract prices from webpage into Spreadsheet
    By AKK9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 11:49 AM
  4. Replies: 3
    Last Post: 07-29-2012, 05:05 PM
  5. Excel 2007 : Data Extract from Webpage to Excel
    By Rob_Shah in forum Excel General
    Replies: 0
    Last Post: 03-03-2012, 08:15 PM
  6. Macro to extract data from webpage
    By Bradley_99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2011, 01:18 PM
  7. extract data from webpage
    By zzseason in forum Excel General
    Replies: 5
    Last Post: 02-28-2008, 03:02 AM

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