Extract specifc pages from word document

User avatar
Posts: 639
Joined: 18 Jan 2022, 15:59
Location: Re-routing rivers, in Hof, Beautiful Bavaria

Re: Extract specifc pages from word document

Post by DocAElstein »

HansV wrote:
01 May 2024, 19:56
... turns out that each page is a section, so you actually want to extract sections
A quick question, partly out of interest, but it might have some small relevance as well … would these "sections" be the things I was seeing yesterday in my dismal attempt to get text from that .rtf file, ( via a stopover in a Word saved as a .htm file and then opened in a text editor) ? – These "<div" (container?) things
Word Sections in rtf htm text.JPG

Until yesterday I had assumed that there was just one of those, (maybe my files had been always small), and I had assumed they effectively held all the text. As it turned out there were 3 of them, so I had to loop and concatenate the text from them to get it all in my coding offering

You do not have the required permissions to view the files attached to this post.
I seriously don’t ever try to annoy. Maybe I am just the kid that missed being told about the King’s new magic suit, :(

User avatar
Posts: 78768
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Extract specifc pages from word document

Post by HansV »

Yes - see this reply
Best wishes,