With the spreadsheet
gem, you can run Spreadsheet::Link.new('http://hyperlinkhere.com', 'Some words')
to make a spreadsheet with a cell containing the string "Some words" with a hyperlink leading to "http://hyperlinkhere.com."
What's the axlsx
equivalent?
EDIT: What if I want to write a row with more than one cell?
With spreadsheet
, you can do this:
newSheetRow[13] = Spreadsheet::Link.new('url.com','text')
newSheetRow[14] = 'some text'
How do I do that with axlsx
's .add_row
method?