#1
|
|||
|
|||
Programmatically split a rtf word file without opening
I have a rtf file with text, images, tables, etc.
I need to split that file in several ones according to : a) Strings in the rtf file. The finals files are splitted from the original one between searched strings first occurrence. Using a txt file or csv file with the strings to search. Or any other flexible method. b) Bookmarks in the rtf file Best Regards |
#2
|
||||
|
||||
It is impossible to split any file without opening it. You need to be specific about your split criteria. One macro can't be expected to spit files by strings and/or bookmarks, let alone 'Using a txt file or csv file with the strings to search. Or any other flexible method'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Quote:
I may be wrong. I have observed in pdf world that "split" files by strings or bookmarks means by the page where is included, not rearranging the file by that point. Is this true ? Best Regards |
#4
|
||||
|
||||
Quote:
Unless the bookmark refers to a specific page and the 'string' is the bookmark name, I doubt it.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
I don't understand.
I think is possible to modify word documents without human interaction. So I don't need to open the files in the common sense of the word open. That will be the word automation. Best Regards Edited : Gillmeister Word Text Replacer makes find & replace without opening the files. https://www.gillmeister-software.com...cer/start.aspx |
#6
|
||||
|
||||
Quote:
False - it just doesn't use another application, instead it opens the files itself.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
Then is possible to open multiple files without microsoft word or any other word processor software to manipulate.
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". Consequently we don't need to open the microsoft word files with microsoft word software. Anyway my question is up ! 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 ? |
#8
|
||||
|
||||
Quote:
Quote:
Quote:
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] |
#9
|
|||
|
|||
Thanks a lot Macropod.
There are a lot of options indeed. Best Regards |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word VBA - Split Document By Headings - Save File Name As Heading Name | jc491 | Word VBA | 7 | 01-21-2022 11:04 AM |
Mac Word file not opening right on PC | nalamdari | Word | 3 | 09-25-2014 11:07 PM |
Issue when opening word file | msadiqrajani | Word | 2 | 05-27-2011 08:11 PM |
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 |