I need a way to convert .doc or .docx extensions to .txt without installing anything. I also don’t want to have to manually open Word to do this obviously. As long as it’s running on auto.
I was thinking that either Perl or VBA could do the trick, but I can’t find anything online for either.
Any suggestions?
Note that an excellent source of information for Microsoft Office applications is the Object Browser. You can access it via
Tools→Macro→Visual Basic Editor. Once you are in the editor, hit F2 to browse the interfaces, methods, and properties provided by Microsoft Office applications.Here is an example using Win32::OLE: