+ Reply to Thread
Results 1 to 2 of 2

Launch Chrome from within Excel on a MAC?

Hybrid View

ChainsawDR Launch Chrome from within... 03-21-2012, 08:00 AM
tigeravatar Re: Launch Chrome from within... 03-21-2012, 01:48 PM
  1. #1
    Registered User
    Join Date
    09-18-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    35

    Launch Chrome from within Excel on a MAC?

    Hi,

    Using Windows 7/Excel 2010 I use the shell command to launch Chrome when a command button is clicked

    Shell ("C:\Users\" & UserName.Text & "\AppData\Local\Google\Chrome\Application\Chrome.exe -url " & WebsiteDomain.Text)
    A colleague needs the same functionality but he uses an Apple Mac. Does anyone please know the equivalent format for launching Chrome on a Mac using Excel 2010? I've never used a Mac in my life and have no clue how to even find the location of chrome.exe (or even if it uses .exe)

    Thanks

    ChainsawDR

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Launch Chrome from within Excel on a MAC?

    ChainsawDR,

    Untested, but try:
    ActiveWorkbook.FollowHyperlink "http://www.google.com"

    That code will open google using the computer's default browser. If chrome has been set to the default browser, it should open the website using chrome.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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