+ Reply to Thread
Results 1 to 15 of 15

Macro to scan websites on list for blog?

  1. #1
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Macro to scan websites on list for blog?

    Hello everyone. Is is possible to make macro that can go down list of websites on excel file in Column A and determine if website has a blog and then in Column B script will write Yes or No ?
    Last edited by wonderd; 06-04-2019 at 03:48 PM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to scan websites on list for blog?

    What's the algorithm for "determine if website has a blog" ?

    (and are you really still using Excel 2003?)
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

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

    Re: Macro to scan websites on list for blog?


    Excel 2003 is not an issue …

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to scan websites on list for blog?

    Quote Originally Posted by Marc L View Post

    Excel 2003 is not an issue …
    ? It might be. If they're actually using a later Excel version which support Power Query, this may be a simpler solution. It kind of depends on the algorithm to determine if each website has a blog...

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

    Arrow

    I 1 000 % agree for the blog logic as I thought the same yesterday !

    Excel 2003 does not have PowerQuerry but as I download Web data since years under this version, it's not an issue
    but again I totally agree for this kind of stuff the better is to know on which Excel version(s) the code should run …
    Last edited by Marc L; 06-05-2019 at 05:48 AM. Reason: typo …

  6. #6
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Macro to scan websites on list for blog?

    Thanks for the replies. I am using excel 2010. I updated my profile.

    I am not sure the logic that would needed to be used.
    Last edited by wonderd; 06-05-2019 at 02:00 PM.

  7. #7
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to scan websites on list for blog?

    Okay. So what steps would you take to manually determine if a blog exists on a site?

  8. #8
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Macro to scan websites on list for blog?

    I would see if the word "blog" was anywhere on the website.

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

    Re: Macro to scan websites on list for blog?


    On the webpage link it's easier …

  10. #10
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Macro to scan websites on list for blog?

    Yes but I'm assuming not every website will have the same url structure for their blog.

  11. #11
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Macro to scan websites on list for blog?

    can anyone help?

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

    Re: Macro to scan websites on list for blog?


    As you do not clarify what should be done so maybe some mind reader
    as it depends on the samples you forgot to clearly explain and share in a workbook attachment …

  13. #13
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215
    The script will access any website listed in column A one by one and determine if the website has the word "blog" anywhere on the website. If the website has blog, then next to that website, in column B will be the word yes. If website does not have blog, script will wrote "No" in column B. Then move on to check the next website

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,722

    Re: Macro to scan websites on list for blog?

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  15. #15
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Macro to scan websites on list for blog?

    The cross reference can be seen here https://www.mrexcel.com/forum/genera...ml#post5288578

+ 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. Search list of websites in excel and data mine the page
    By Stahlsta210 in forum Excel General
    Replies: 1
    Last Post: 06-10-2018, 09:47 PM
  2. RFID Time and date stamp on scan and off scan
    By forey89 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2015, 06:46 AM
  3. [SOLVED] Need VBA code to scrape data into excel from list of websites
    By nadair1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2014, 11:45 AM
  4. Replies: 6
    Last Post: 06-14-2013, 09:18 AM
  5. Sort list of websites
    By Skribbles in forum Excel General
    Replies: 5
    Last Post: 11-27-2012, 07:32 PM
  6. Organizing list of websites and subdomains
    By snmt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2011, 06:01 PM
  7. Replies: 1
    Last Post: 03-01-2010, 09:17 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