Re: Read/Write Microsoft Word documents
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 19, 2004
- 517 views
Michelle Rogers wrote: > > Can anyone tell me how to have euphoria > 1. write files in Microsoft word format? (or is this impossible) > and the reverse of that.. > 2. Read in data from a Microsoft word document, instead of plain text. > You can do this with EuCOM (search the archive for COM). There are examples included on how to do this with Excel and Access that come with the library. It's basically like you're working with VBA (although a bit more involved, since you have to do more housekeeping). You'll need to use tbrowse (included) to generate a wrapper for the Word TypeLibrary, and use that to interface with Word. Take a look, and let me know when you have questions. If need be, I could knock up a quick demo for you. Matt Lewis