From: "bpettichord@..." Date: 2006-09-27T06:51:48+09:00 Subject: Enumerable and WIN32OLE I make a lot of use of the WIN32OLE library, with many thanks to Nobu Nakada. One of my common idioms is to take a WIN32OLE object that implements the IEnumerable interface and extend it with the Ruby Enumerable Mix in. Thus: rows = @ole_worksheet.usedRange.rows.extend Enumerable rows.select do |row| entire_row = row.entireRow entire_row.columns(1).text == '' and # comment entire_row.columns(2).text != '' # no action end It strikes me that it might be reasonable to expect the Ruby win32ole library to do this for me automatically. Do you agree? Bret