I am creating MS word document using ruby. can I use a “template”
document in Microsoft word with place holders for dynamic data from
database using ruby.
Like, I’ve a template, I want to fill it by data from database, using
Please help me out.
As Skade mentioned, open the template as you would a regular document…
word = WIN32OLE.new(‘Word.Application’)
doc = word.Documents.Open(‘Contemporary Resume.dot’)
…and save it as a regular document…
As mentioned, you’ll want to take this particular topic off this board.
Feel free to visit my blog and/or send email with questions about Ruby
and Windows, MS Office, etc.