Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I need a way to separate the pages of a word document that contain the word "online" from the pages that do not. I can't figure out a way to do this efficiently without doing a search for the word and individually copying and pasting each specific page that contains the word to another document. I need a macro that can do this or maybe something simpler that I can’t think of.
|
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Word doesn't really have "pages," unless you're going to insert a
manual Page Break where you want them (but that could mess up your paragraphs.) If you do that, then you could just search for any occurrence of the word between two page breaks, and select everything in between. On Aug 21, 11:18*am, jsgoodi wrote: I need a way to separate the pages of a word document that contain the word "online" from the pages that do not. I can't figure out a way to do this efficiently without doing a search for the word and individually copying and pasting each specific page that contains the word to another document. I need a macro that can do this or maybe something simpler that I can’t think of. -- jsgoodi |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
The only option, as far as I can tell, is in VBA. If you work with
Selection.Find to move the insertion point to each occurrence of "online," then you can make use of the built-in bookmark "\page" to extract the page where the word is located. I have no idea how fast this procedure will be in a large document, though. -- Stefan Blom Microsoft Word MVP "Peter T. Daniels" wrote in message ... Word doesn't really have "pages," unless you're going to insert a manual Page Break where you want them (but that could mess up your paragraphs.) If you do that, then you could just search for any occurrence of the word between two page breaks, and select everything in between. On Aug 21, 11:18 am, jsgoodi wrote: I need a way to separate the pages of a word document that contain the word "online" from the pages that do not. I can't figure out a way to do this efficiently without doing a search for the word and individually copying and pasting each specific page that contains the word to another document. I need a macro that can do this or maybe something simpler that I can’t think of. -- jsgoodi |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Printing specific pages of a specific section | Microsoft Word Help | |||
Append and extract pages from a Word document | Microsoft Word Help | |||
How can I extract specific words from a document to form a glossar | Microsoft Word Help | |||
Can I extract specific sections from a Word Doc automatically? | Microsoft Word Help | |||
How do I extract pages from a Word document? | Microsoft Word Help |