From: Ruhul Amin Date: 2007-02-23T17:36:07+09:00 Subject: undefined method `at' for nil:NilClass while i use parseexce I 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 -- Posted via http://www.ruby-forum.com/.