in reply to OLE from CGI - Is it possible?

Are you sure the object got created? Also ... I'm not sure Word would like several scripts trying to automate it at once. IMHO it'd be better to skip the GetActiveObject().

And are you actually sure you HAVE to fill in a DOC? What about saving the template in RTF format and filling in the data then? Take a look at Template::RTF, maybe that's all you need. And since that would not force you to create the whole huge Word object it should be much quicker.

Jenda