How to open an embedded file?

N

Nord

Hi all!
I have inserted a file-object into my Word doc. The file is a simple
txt one, and I need to open and read it via VBA.
How can I do it? What must I write, something like:

open <filename> for input as #1 ...?

But what must I put in <filename>?

Thanks in advance.
 
W

Word Heretic

G'day Nord <[email protected]>,

Sorry, misread your post. You have to use the OLE Verbs on the object
to open it, pause with an OnTime, then you can access the new document
object.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Nord reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top