I would have thought you could use your VBA code more or less verbatim.

See http://rubyonwindows.blogspot.com/search/label/word

-- 
Posted via http://www.ruby-forum.com/.