>      contents.push(workbook.cell(i, j))

Thanks a lot igorjorobus. This worked :)

-- 
Posted via http://www.ruby-forum.com/.