Reply
 
Thread Tools Display Modes
  #1   Report Post  
jsgoodi jsgoodi is offline
Junior Member
 
Posts: 0
Default How do i extract only pages that contain a specific word

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   Report Post  
Posted to microsoft.public.word.docmanagement
Peter T. Daniels Peter T. Daniels is offline
external usenet poster
 
Posts: 3,215
Default How do i extract only pages that contain a specific word

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   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default How do i extract only pages that contain a specific word

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 03:46 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"