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?
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?
Last edited by gach; 01-17-2017 at 09:58 AM.
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.
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).
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...
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...
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.
I add Cancel = True to stop entering in edit mode. Apart from that - no need of hyperlink function, just the text open with FireFoxPlease Login or Register to view this content.
not working... Should I change something on this if my excel (2007) is Portuguese?
Changeto the correct location of firefox. This is for 64-bit Win. Of course for versatility this could be done with code.C:\Program Files (x86)\Mozilla Firefox\firefox.exe
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.
For HyperLink formula you can adopt my code to use following.
Dir function is used in regular module to check for firefox.exe path.Please Login or Register to view this content.
See attached.
See attached file. does it work? just double click the cell in column A
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks