From: Peter Bailey Date: 2006-10-27T21:19:25+09:00 Subject: Re: Win32OLE. Opening an existing file. Ken Bloom wrote: > On Thu, 26 Oct 2006 22:12:51 +0900, Peter Bailey wrote: > >>> >> Thanks, Victor. I tried it with an existing file, and, it worked! It's >> pretty slow, but, the books warned me about that. So, are you saying >> that all of the WIN32OLE instructions are simply VBA instructions? So, >> technically, I could derive my answers by just looking at the VBA help >> in Word or Excel?? >> > > Precisely. VBA is just another language for controllng OLE objects, so > the > same API's are available for VBA and Ruby (and any other language you > might choose that talks OLE). > > --Ken Interesting. I noticed that, in the Win part of these instructions, the path was only respected when done with "\" instead of the Rubyish "/." So, it really is one world within another. Thanks! -- Posted via http://www.ruby-forum.com/.