Attempting to create a hyperlink of type file and calling setAddress("C:\\test 
dir\\"); creates code that will not execute.  No exception is thrown, the code 
simply stalls
In fact similar results for:
"C:\\Test.xls"
"C:\\TestDir\\"

This can be made to work by writing the path as a URL like link ie:

"C:/TestDir/"
This works fine and has desired results, however due to the nature of URL links
"C:/Test Dir/" fails to execute again

In Excel you can add a hyperlink to any cell and point it to any of the example 
directories above

David

-----Original Message-----
From: Nick Burch [mailto:[email protected]] 
Sent: Monday, January 30, 2012 10:54 AM
To: POI Users List
Subject: Re: XSSF & Hyperlink to Directory

On Mon, 30 Jan 2012, Cross, David A. wrote:
> However I would like to create a hyperlink to a specific directory or 
> network location (ie "\\My network\Group A\User C\Folder F\" etc...) 
> just as you can manually in Excel.  I was unable to get the hyperlink 
> setAddress function to work under these circumstances.

What are you getting, and how does it differ from if you create the same 
thing in Excel?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to