How to Write hyperlinks using spreadsheet gem in Ruby? -


the spreadsheet gem isnt documented properly, cant understand how can write hyperlinks using spreadsheet gem. can tell me?

this script create spreadsheet link in first cell

require 'rubygems' require 'spreadsheet'  book = spreadsheet::workbook.new sheet1 = book.create_worksheet sheet1[0,0] = spreadsheet::link.new 'www.google.com', 'link text' book.write '/tmp/spreadsheet_with_link.xls' 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

What's the encoding type of Android 2.2 push message? -

visual studio - Deleting lines of code in a text editor -