# Hyperlink

**URL:** <https://www.ruby-forum.com/t/hyperlink/162568>\
**Category:** Ruby-Forum\
**Created:** [March 11, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/hyperlink/162568 "2009-03-11T13:44:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmanigandan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/898d66/32.png) [@rmanigandan](https://www.ruby-forum.com/u/rmanigandan)\
**Post date:** [March 11, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/hyperlink/162568/1 "2009-03-11T13:44:11Z")

</div>

hi

can any one help me out to fix this

hyper\_link = “=HYPERLINK(“test.xls#Sheet2!A1”, “Sheet2”)”  
worksheet.write\_url( 4+ j , 4 , hyper\_link, format\_bold)

above one is the code to give hyperlink for the text in Sheet1

once I clicked the Sheet2 link it should goes to Sheet2

I have tried and I got the text HYPERLINK(“test.xls#Sheet2!A1”,  
“Sheet2”) in the generated excel but I want this as link
