+ Reply to Thread
Results 1 to 2 of 2

Searching for specific elements from website source code in VBA

  1. #1
    Registered User
    Join Date
    02-22-2017
    Location
    Haarlem
    MS-Off Ver
    Excel 2010/2013
    Posts
    56

    Searching for specific elements from website source code in VBA

    Hello,

    I am looking for specific elements in the website source code in VBA.

    The set-up is as follows:

    In the range A:A I will put a list of urls. Every URL needs to be checked for specific elements.For example when there is a hit with the word "beer"or "erotic" in the source code of the webpage the macro needs to generate a signal. Most of the websites will not give a hit. Every url needs to be checked. When there is a hit with one of the words this is enough for a hit. It will be wonderful when the hit leads also to categorization. when there is a hit with the word beer it has to categorize the url in the category "alcohol" and "erotic" in
    category 18+.

    This is just simple version. I have a lot of keywords and also a lot of categories.

    Is this even possible?

    I am looking forward for your suggestions. I am pretty new to VBA. But I think this is they only way to optimize.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Searching for specific elements from website source code in VBA


    Hi !

    Yes it seems doable, all depend of the real workbook layout …

+ 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. View entire source code of website using Excel VBA
    By Abhishake in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2016, 06:48 PM
  2. Replies: 2
    Last Post: 01-07-2016, 12:25 PM
  3. Pull Website Source Code with Selenium (PhantomJS) VBA
    By mattmc419 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2015, 05:02 AM
  4. Replies: 0
    Last Post: 03-23-2015, 10:35 AM
  5. Importing website source code into excel
    By Schwizer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2013, 06:57 PM
  6. Macro to get source code from a website.
    By terbart in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-28-2013, 09:26 AM
  7. [SOLVED] How would I grab the source code from a website and place it into a text file using vba?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2012, 10:31 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