Method: Excelgrip::Worksheet#cells

Defined in:
lib/excelgrip.rb

#cells(v_pos, h_pos) ⇒ Object



168
169
170
171
172
173
174
175
# File 'lib/excelgrip.rb', line 168

def cells(v_pos, h_pos)
  begin
    raw_range = @raw_object.Cells(v_pos, h_pos)
  rescue WIN32OLERuntimeError
    raise $!,$!.message, caller
  end
  Range.new(raw_range)
end