Thank you very much haukex for your suggestion, I'll try it, but I suspect that this might very well work with recent .docx files (which have a format very similar to the open office format), but probably not with the old proprietary binary format associated with MS Office of 2003 and before. I'll give a try anyway.