<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
This file is present on my hardrive..This file is present in the same folder in which the python code file is present...so http: wont work..<BR><BR> <BR>> To: python-list@python.org<BR>> From: emile@fenx.com<BR>> Subject: Re: Hyperlink to a file using python<BR>> Date: Wed, 13 Oct 2010 14:19:36 -0700<BR>> <BR>> On 10/13/2010 1:57 PM Pratik Khemka said...<BR>> ><BR>> > I want to create a hyperlink in my excel sheet using python such that when you click on that link (which is a file name (html file)), the file automatically opens. <STRONG>This file is present in the same folder in which the python code file is present.<BR></STRONG>> ><BR>> > I am using xlwt module<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > link= 'abcd.html'<BR>> > sheet.write(x, y, link, format_style)<BR>> <BR>> <BR>> Hmmm... my excel does that automagically when I<BR>> type "http://xx.yy.zz/word.html into a cell.<BR>> <BR>> What happens when you use "http://a.b.c/abcd.html"?<BR>> <BR>> Emile<BR>> <BR>> -- <BR>> http://mail.python.org/mailman/listinfo/python-list<BR>                                     </body>
</html>