View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
cornets cornets is offline
external usenet poster
 
Posts: 3
Default 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