![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#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.
|
| Ads | |
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing specific pages of a specific section | Rob E | Microsoft Word Help | 4 | October 22nd 09 12:15 PM |
| Append and extract pages from a Word document | Lenny | Microsoft Word Help | 2 | May 12th 08 04:48 PM |
| How can I extract specific words from a document to form a glossar | Hayden | Microsoft Word Help | 0 | June 30th 06 02:54 PM |
| Can I extract specific sections from a Word Doc automatically? | CRobb | Microsoft Word Help | 1 | March 22nd 06 06:04 AM |
| How do I extract pages from a Word document? | hvoran | Microsoft Word Help | 4 | May 10th 05 06:55 PM |