Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from stackoverflow.com Aug 23 '12 at 4:59

This question came from our site for professional and enthusiast programmers.

The below link has macro to find a particular text (profane words in this case), you could modify and use the same macro for your text searching tasks:

Word macro to find profanity, and create a list of occurences

share|improve this answer

You must log in to answer this question.