aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes how to add a hyperlink in excel cell through java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to add a hyperlink in excel cell through java" Watch "how to add a hyperlink in excel cell through java" New topic
Author

how to add a hyperlink in excel cell through java

Ramaswamy Narayanan
Greenhorn

Joined: Jan 19, 2005
Posts: 24
hello friends

i am doing a project. In this project, i have to add a hyperlink to the cell in an excel sheet.
i am using poi package for creating excel sheet through java. but i don't know how to create a cell with hyperlink.
if any one knows please help me immediately.
thank you
bye
narayanan
Tom Snyder
Greenhorn

Joined: Feb 26, 2009
Posts: 1
Hi narayanan,

This will give you a link to a web page within an Excel Spreadsheet cell.

cell.setCellFormula("HYPERLINK(\"http://www.twowolvesout.com\")");

Enjoy,
Tom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add a hyperlink in excel cell through java