+ Reply to Thread
Results 1 to 14 of 14

open link in hyperlink column with fire fox

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Question open link in hyperlink column with fire fox

    I have a worksheet with a column (A) using the HYPERLINK function to retrieve the URL in the column (D).

    Each time I click a link on column (A), I would like to open it in Firefox (my NON DEFAULT browser).


    Does anybody know how this can be done?
    Attached Files Attached Files
    Last edited by gach; 01-17-2017 at 09:58 AM.

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open link in hyperlink column with fire fox

    try using shell, e.g.
    Please Login or Register  to view this content.
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    Quote Originally Posted by buran View Post
    try using shell, e.g.
    Please Login or Register  to view this content.
    I don't know how this can be done. Also, please remember that I have a column (A) using the HYPERLINK function and I need to open each one in random mode.
    Attached Files Attached Files

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,903

    Re: open link in hyperlink column with fire fox

    Yes, use Shell. But I'd recommend putting in check to see if it exists in (x86) or in \Program Files\.

    See module1 in attached (for some reason I can't post the code...).

    As for launching and opening url in firefox when hyperlink is clicked... you will need to supply sample workbook. Code will change depending on what's actually in those cells (string, formula, value etc).
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    I pasted you module code in my workbook but it doesn't open any link of column (A) in Firefox Instead, it opens all links on my default browser (chrome)


    I also can't post any code here...

  6. #6
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    I pasted you module code in my workbook but it doesn't open any link of column (A) in Firefox Instead, it opens all links on my default browser (chrome)


    I also can't post any code here...

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: open link in hyperlink column with fire fox

    Instead of using the HYPERLINK fnction in column A, just use this formula
    =D1
    To display the hyperlink address from column D

    Add this code to the worksheet's code module
    • Right-click on the sheet tab
    • Select View Code from the pop-up context menu
    • Paste the code from below in the worksheet's code module


    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  8. #8
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open link in hyperlink column with fire fox

    Please Login or Register  to view this content.
    I add Cancel = True to stop entering in edit mode. Apart from that - no need of hyperlink function, just the text open with FireFox

  9. #9
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    not working... Should I change something on this if my excel (2007) is Portuguese?

  10. #10
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open link in hyperlink column with fire fox

    Change
    C:\Program Files (x86)\Mozilla Firefox\firefox.exe
    to the correct location of firefox. This is for 64-bit Win. Of course for versatility this could be done with code.

  11. #11
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    the path is 100% correct. I'm also on 64-bit Win but not working...
    Last edited by gach; 01-17-2017 at 10:49 AM.

  12. #12
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,903

    Re: open link in hyperlink column with fire fox

    For HyperLink formula you can adopt my code to use following.

    Please Login or Register  to view this content.
    Dir function is used in regular module to check for firefox.exe path.
    See attached.
    Attached Files Attached Files

  13. #13
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open link in hyperlink column with fire fox

    See attached file. does it work? just double click the cell in column A
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    03-26-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: open link in hyperlink column with fire fox

    Quote Originally Posted by buran View Post
    See attached file. does it work? just double click the cell in column A
    Yes, It works! Thanks!

+ 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. Hyperlink to open embedded object for a column
    By carlrubber in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-13-2016, 11:38 PM
  2. [SOLVED] Open Event to Fire During Specified Hour Only
    By dreicer_Jarr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2013, 05:11 AM
  3. Text in column link to hyperlink in another column
    By searches in forum Excel General
    Replies: 1
    Last Post: 04-10-2012, 11:27 AM
  4. Replies: 3
    Last Post: 07-07-2011, 08:39 AM
  5. Fire entry in column dynamically
    By vishal_215 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2010, 12:15 PM
  6. Make Worksheet_Change() event sub fire on external link changes
    By batman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2009, 10:00 PM
  7. Macro to open a number of Hyperlink's in a column.
    By barksmith in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2009, 12:00 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