From: Ned Konz Date: 2002-07-31T07:49:01+09:00 Subject: Re: ActiveRubyScript and RubyAEOSA On Tuesday 30 July 2002 03:22 pm, JamesBritt wrote: > I've written a fair amount of VBA code for Word, and would love to > be able to use Ruby instead of a Visual Basic variant. Well, there's Win32OLE: http://homepage1.nifty.com/markey/ruby/win32ole/index_e.html It looks like a translated version of the Perl module with a similar name. The example given there is an Excel one: require 'win32ole' application = WIN32OLE.new('Excel.Application') application.visible = TRUE workbook = application.Workbooks.Add(); worksheet = workbook.Worksheets(1); worksheet.Range('A1:D1').value = ['North','South','East','West']; -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE