if opening the document is still a problem, there are ways to open xml type documents as xml file and read the text from that, there are several examples in this forum
if the document will open using getobject all you need is
where ntext is a string or variantCode:ntext = getobject(ufile).content.text




Reply With Quote
