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? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -