View Single Post
 
Old 03-28-2017, 03:32 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Esgrimidor View Post
Then is possible to open multiple files without microsoft word or any other word processor software to manipulate.
Yes, using VBScript, for example. But if it's a file formatted for word-processing (e.g. doc, docx, rtf) and you want to manipulate its contents, then you'll either need to at least automate the relevant word processor or know a great deal about the file format's internal structure and how to manipulate it.
Quote:
Originally Posted by Esgrimidor View Post
In the sense "open" to operate the files, not to edit or write in the common sense of the word.

And the user will not see the opened files in the common use of the term open a file with "microsoft word".
Sure, and there's plenty of code on these forums that does just that. That code can include hiding documents when they're opened and/or even hiding the entire Word session when Word is being automated.
Quote:
Originally Posted by Esgrimidor View Post
Do you know software to manipulate rtf files without opening or see the file with microsoft word or any similar program ?
Do you know software to "programmatically open" word files ?
As indicated above, you could automate Word using VBScript, for example (you could even automate Word from any other Office application!) - and even hide the Word session while that's happening. Or you could use a Word macro to open & process the files without the user seeing them.

For code that demonstrates how Word could be automated from any Office application and the Word session hidden, see: https://www.msofficeforums.com/word-...html#post94106

For a demonstration of a Word macro hiding the files it opens, see: https://www.msofficeforums.com/word-...tml#post112783
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote