From: Ruhul Amin Date: 2007-02-23T18:45:28+09:00 Subject: Re: undefined method `at' for nil:NilClass in parseexcel.hel Ruhul Amin wrote: > use this code to open my '2007-02-231028.xls' file. the file is in the > same directory of the program. > my code: > require 'parseexcel' > workbook = Spreadsheet::ParseExcel.parse('2007-02-231028.xls') > worksheet = workbook.worksheet(0) > skip = 2 > worksheet.each(skip) { |row| > # a row is actually just an Array of Cells.. > first_cell = row.at(0) > > } > Error is:undefined method `at' for nil:NilClass > I can not understand the error. please help me as i am a niwbie in ruby please help me. -- Posted via http://www.ruby-forum.com/.