Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 03-28-2017, 03:32 PM
macropod's Avatar
macropod macropod is offline Programmatically split a rtf word file without opening Windows 7 64bit Programmatically split a rtf word file without opening 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmatically split a rtf word file without opening Word VBA - Split Document By Headings - Save File Name As Heading Name jc491 Word VBA 7 01-21-2022 11:04 AM
Programmatically split a rtf word file without opening Mac Word file not opening right on PC nalamdari Word 3 09-25-2014 11:07 PM
Programmatically split a rtf word file without opening Issue when opening word file msadiqrajani Word 2 05-27-2011 08:11 PM
Programmatically split a rtf word file without opening MS Word - There was an error opening the file cookiegal Word 7 04-04-2011 12:37 AM
Programmatically get File Path for currently opened WORD document franferns Word 1 11-26-2009 12:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft