+ Reply to Thread
Results 1 to 2 of 2

Open a new chrome window after every 40th hyperlink

  1. #1
    Registered User
    Join Date
    07-26-2021
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel for Mac (365 subscription) Version 16.51
    Posts
    24

    Open a new chrome window after every 40th hyperlink

    Hi guys,

    I have a long column of links that I'm looking through.
    I put together a VBA script that opens 40 hyperlinks from the cells I've selected, and then pauses with a message box before doing the next 40.

    I'd really like for it open a NEW chrome window when the script begins, and everytime it opens the next 40 links.
    Looked around google but couldn't find anything that worked.
    I'm on a mac, the file path to Chrome is SYSTEM/Applications/Google Chrome.app

    Is there some simple attribute for FollowHyperlink or something I can use?
    Apologies if not making much sense - Haven't done any VBA for ages, very rusty.

    Below is the sub I'm running. Works fine and I just open a new window manually at start and before proceeding to next 40 hyperlinks.
    But would be great if someone knew what code I can just shove in there to automate the new window thing?

    Cheers,
    Dan


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Open a new chrome window after every 40th hyperlink

    normally in HTML you would add
    Please Login or Register  to view this content.
    to a hyperlink to open a new window, you can do this via VBA as well

    https://learn.microsoft.com/en-us/of...perlink.target
    If someone has helped you then please add to their Reputation

+ 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. Can a hyperlink to an worksheet, open in a new window?
    By Ajaxs87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2022, 05:00 AM
  2. how can i open chrome via VBA - and open each hyperlink consecutively in a column?
    By jake126 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2020, 07:51 AM
  3. hyperlink open new mail window outlook
    By dodde in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2015, 04:15 AM
  4. [SOLVED] Open hyperlink in a new window
    By Beekster in forum Excel General
    Replies: 2
    Last Post: 02-10-2014, 09:53 AM
  5. Want to open new hyperlink in existing IE window and tab
    By flyboy54 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2013, 10:28 AM
  6. Open Hyperlink in New Window
    By new jack in forum Excel General
    Replies: 2
    Last Post: 03-14-2008, 12:38 AM
  7. Replies: 0
    Last Post: 09-30-2005, 11:05 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