How to Replace Text Only on Specific Pages in Microsoft Word
Question details
The user needs a way to find and replace specific text only within a designated page range rather than applying the changes to the entire document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing a multi-page document where text replacements must be restricted to a specific section, such as pages 4 through 9, without altering identical words on other pages.
- Observed behavior
- The standard Find and Replace tool defaults to replacing text throughout the entire document and lacks a direct input field to filter by specific page numbers.
Identify the exact starting and ending points of the pages where you want the text replaced. Using the Navigation Pane or zooming out to view multiple pages can make selecting your target text easier.
Restrict Find and Replace to a Text Selection
Highlight the text on your target pages first to force the Find and Replace function to only operate within that specific area.
By default, Word wants to search the whole document. However, if you select a block of text before opening the Replace dialog, Word will limit its initial search and replacement action to just that highlighted section.
Click at the beginning of the text on your starting page, scroll to the end of your target page range, hold the Shift key, and click again to highlight the entire section.
Press Ctrl + H on your keyboard, or go to the Home tab and click Replace in the Editing group.
Type the word you want to find in the 'Find what' field and your new text in the 'Replace with' field.
Click 'Replace All'. Word will make the replacements within your selection and then prompt: 'Do you want to search the rest of the document?'. You must click 'No' to prevent changes on other pages.

Manually Replace Text Using Find Next
Use the Find Next function to review each occurrence individually and choose whether to replace it based on the page you are currently viewing.
Easily Find and Replace Text in Specific Sections with WPS Office
WPS Writer offers an intuitive Find and Replace tool that seamlessly works with selected text ranges. You can easily restrict your edits to specific pages without affecting the rest of your document, making complex formatting tasks simple.
- 1. Open your document: Launch WPS Writer and open the document you need to edit.
- 2. Select the page range: Use your mouse to highlight the text covering the specific pages where you want the replacement to occur.
- 3. Open Replace tool: Press Ctrl + H to bring up the Replace dialog box and enter your 'Find' and 'Replace' terms.
- 4. Execute replacement: Click 'Replace All'. When WPS Writer asks if you want to continue searching the remainder of the document, click 'No'.

Frequently Asked Questions
Can I type a page range directly into the Find and Replace box?
No, Microsoft Word does not have a built-in feature to enter specific page numbers (like pages 1-5) directly into the Find and Replace dialog. You must manually select the text on those pages first to restrict the replacement area.
Why did Word replace text outside my selected pages?
This happens if you click 'Yes' when Word asks 'Do you want to search the rest of the document?' after it finishes replacing items in your highlighted selection. Always click 'No' to ensure the changes are restricted strictly to your selected text.
Is there a way to select multiple separate pages for Find and Replace?
Yes. You can hold down the Ctrl key while dragging your mouse to select non-contiguous text across different pages. Once selected, press Ctrl + H to open the Replace tool and apply the changes only to those specifically highlighted areas.




