Method: LibExcel::Worksheet#reference
- Defined in:
- lib/libexcel/worksheet.rb
#reference(args, equal = '=') ⇒ Object
Creates a reference to a cell in this Worksheet to be used in another Worksheet.
89 90 91 |
# File 'lib/libexcel/worksheet.rb', line 89 def reference(args, equal = '=') Formula.new("#{equal}'#{name}'!#{LibExcel.static(args[:row], args[:col])}") end |