+ Reply to Thread
Results 1 to 3 of 3

Microsoft Excel 2010 Looking for specifiek words in source coude website

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

    Microsoft Excel 2010 Looking for specifiek words in source coude website

    Hello,

    I want to make a excel sheet where I have in column the URLs of several websites. In colom b a want a code to look for specific word in the source code of the url. It is for compliances issues. So the websites need to be check on certain words like alcohol, drugs, gambling etc.
    Last edited by martijnrikkert; 02-22-2017 at 05:41 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Microsoft Excel 2010 Looking for specifiek words in source coude website

    You might try using this code as a sample. It assumes that your data is in column A and only tests for "alcohol"

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Microsoft Excel 2010 Looking for specifiek words in source coude website

    Thank you for the answer.

    Now it is searching in the url. It needs to search for this information in html source code of the website

    Is this also possible?

+ 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. [SOLVED] COUNT help on microsoft website does not work (MS excel 2010)?
    By dieffen_bachia in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-12-2014, 01:37 PM
  3. Importing website source code into excel
    By Schwizer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2013, 06:57 PM
  4. Replies: 1
    Last Post: 01-06-2013, 04:55 PM
  5. Replies: 0
    Last Post: 07-29-2011, 07:19 AM
  6. Microsoft Excel 2010 Doesn't Support Microsoft Excel 2007
    By Orange.CL in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-01-2010, 03:21 AM
  7. Excel in Website (microsoft publisher)
    By bizbeer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2010, 07:31 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