+ Reply to Thread
Results 1 to 2 of 2

Macro Follow Hyperlink, Search for Text, Highlight Cell if True

  1. #1
    Registered User
    Join Date
    05-09-2019
    Location
    California
    MS-Off Ver
    2016
    Posts
    1

    Macro Follow Hyperlink, Search for Text, Highlight Cell if True

    Hi There,

    I have a spreadsheet with a list of roughly 5,000 URLs in a column. I would love to have a macro that would:
    • Follow each hyperlink in sequential order;
    • Search for a particular phrase (e.g., "download here");
    • Highlight each cell containing a URL that driects to a page with that phrase;
    • Close any tabs or windows that are opened in the process;and
    • Upon searching the final item in the list, provide some message (e.g., "Complete").

    Ideally, I would love it if it could check each item in the list automatically without requiring some sort of action between each URL, such as closing the window or confirming the next search. They tell me it can't be done. I have my doubts. They are always naysaying. I'm hoping the good folks at Excel Forum know better. Any ideas would be much appreciated.

    Thanks in advance!
    Jon

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Macro Follow Hyperlink, Search for Text, Highlight Cell if True

    Have a look at

    https://stackoverflow.com/questions/...innerhtml-code

    https://www.encodedna.com/excel/extr...-using-vba.htm
    Martin

+ 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. Follow Hyperlink Macro only works in Pause/Break Mode
    By jdutle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-18-2015, 01:05 PM
  2. macro to follow variable hyperlink or Application.Goto
    By mrusten88 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-03-2015, 09:59 AM
  3. [SOLVED] Macro needed to search for text, highlight row, then cut & paste to another worksheet
    By BoyBri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2013, 07:17 AM
  4. VBA: Search text and extract hyperlink in same cell
    By sroysroy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 11:59 AM
  5. Macro to follow hyperlink to pdf online and save it to harddrive using specific name
    By Imuredaddy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2013, 04:34 AM
  6. Follow Hyperlink with Macro
    By Nidivre in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-26-2010, 10:46 PM
  7. When using worksheet.hyperlink.follow .NewWindow:=true
    By View Source, Excel, Hyperlink, Follow in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2005, 01:05 AM

Tags for this Thread

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