Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add a hyperlink in excel cell through java

 
Ramaswamy Narayanan
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic