From: Thomas Le Date: 2011-10-06T11:02:52+09:00 Subject: Re: comparing elements in same array --90e6ba6e8532cedae904ae97b899 Content-Type: text/plain; charset=ISO-8859-1 Sorry .. this is my sample code --------- require 'roo' ORGFILE = 'organize.xlsx' xcel = Excelx.new("#{ORGFILE}") xcel.default_sheet = xcel.sheets.first startingRow = 2 nameArray = [] nameProfile = Hash.new startingRow.upto(xcel.last_row) do |row| name = xcel.cell(row,'A') location = xcel.cell(row,'B') nameProfile["#{name}"] = "#{location}" nameArray.push("#{name}") startingRow += 1 end ------- Thanks On Wed, Oct 5, 2011 at 8:19 PM, botp wrote: > On Thu, Oct 6, 2011 at 9:06 AM, Thomas Le wrote: > > I am stuck at finding files with same names from the array that I've > > created. any help/pointer would be appreciated. > > post sample code pls > thanks -botp > > --90e6ba6e8532cedae904ae97b899--