Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Links to html files in Excel?
Hi,
I am trying to set up an Excel sheet that would contain links to html pages. In order to so, I put the cursor in a cell and right click "Hyperlink". In the "Insert Hyperlink" dialog, I browse to the html file located in some folder, select it, and it's there. But when I then click on the file in order to open it, an error message displays saying, "Firefox is unable to open the address, because the protocol (c) is not associated with any program" (or words to that effect; I have a Dutch version). Can somebody please explain to me what I should do to bring about such an association with either Firefox or IE? Thanks! Rutger |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Links to html files in Excel?
What it SOUNDS like to me is that *.html and/or *.htm files are not
associated with Firefox (perhaps they're associated with Internet Explorer??), so it's not firing (LOL) Firefox. Try right-clicking any htm/html file on your PC and choosing Open With, tell it Firefox, then tell it to "Always use ..." More info here on File Associations: http://www.officearticles.com/misc/f...oft_office.htm **************************** Hope it helps! Anne Troy www.OfficeArticles.com **************************** "cornets" wrote in message ps.com... Hi, I am trying to set up an Excel sheet that would contain links to html pages. In order to so, I put the cursor in a cell and right click "Hyperlink". In the "Insert Hyperlink" dialog, I browse to the html file located in some folder, select it, and it's there. But when I then click on the file in order to open it, an error message displays saying, "Firefox is unable to open the address, because the protocol (c) is not associated with any program" (or words to that effect; I have a Dutch version). Can somebody please explain to me what I should do to bring about such an association with either Firefox or IE? Thanks! Rutger |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Links to html files in Excel?
Dear Anne,
Thanks very much for your suggestion. That would make sense, wouldn't it? Unfortunately, it doesn't help, also because Firefox is already the default browser. But I think I know what does it. I have a nasty piece of Javascript on all my html pages. I stripped it from one page and it opened without a problem from Excel. Want to see it? He <SCRIPT TYPE="text/javascript" if(window.top == window){ var page = new String(self.document.location.pathname); var contents = "/index.html?" + page; top.location.replace(contents); } </SCRIPT It ensures that the right pages are loaded when clicked on in a search result list. Thanks anyway for your input, Anne! Rutger |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Links to html files in Excel?
On Mar 24, 1:27 pm, "cornets" wrote:
Dear Anne, Thanks very much for your suggestion. That would make sense, wouldn't it? Unfortunately, it doesn't help, also because Firefox is already the default browser. But I think I know what does it. I have a nasty piece of Javascript on all my html pages. I stripped it from one page and it opened without a problem from Excel. Want to see it? He <SCRIPT TYPE="text/javascript" if(window.top == window){ var page = new String(self.document.location.pathname); var contents = "/index.html?" + page; top.location.replace(contents);} </SCRIPT It ensures that the right pages are loaded when clicked on in a search result list. Thanks anyway for your input, Anne! Rutger Hi again Anne (and everybody) It turns out the script is *not* the problem! Firefox or IE still won't open the pages when the script is removed. Any other suggestions? Thanks! Rutger |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Importing HTML files | Excel Discussion (Misc queries) | |||
Problems Creating html files with excel sheet | Excel Discussion (Misc queries) | |||
Export html page to Excel - support files folder | Excel Discussion (Misc queries) | |||
extract text from html files | Excel Discussion (Misc queries) | |||
Links in html-file | Excel Discussion (Misc queries) |