---
description: In today’s article, will show you how to find and replace multiple items in your Word document via VBA codes.
title: How to Find and Replace Multiple Items in Your Word Document
image: https://www.datanumen.com/blogs/wp-content/uploads/2017/07/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg
---

-
-
-

[Home](https://www.datanumen.com/blogs/) > [Solutions](https://www.datanumen.com/blogs/category/solutions/) > [Office Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/) > [Word Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/word-solutions/) > How to Find and Replace Multiple Items in Your Word Document

# How to Find and Replace Multiple Items in Your Word Document

[Word Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/word-solutions/) September 28, 2025

Share Now:

-
-
-
-
-
-
-
-

*In today’s article, we would like to explain to you of how to find and replace multiple items in your Word document.*

The built-in function in Word, “Find and Replace”, allows us to find and replace a word or a phrase at a time. This certainly cannot meet our need for batch processing.

As a matter of fact, we’ve extended the function to find multiple items in one time in one of our previous article. For more details, you can refer to this article: [2 Quick Ways to Find Multiple Items in One Word Document at the Same Time](https://www.datanumen.com/blogs/2-quick-ways-find-multiple-items-one-word-document-time/)

The above link discussed how to find multiple items at the same time. And this article will also show you how to replace each item with a different new one respectively.![Find and Replace Multiple Items in Your Word Document](https://www.datanumen.com/blogs/wp-content/uploads/2017/07/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg "Find and Replace Multiple Items in Your Word Document")

## Run Word VBA to Find and Replace Multiple Items

Macro is the only way left to do customized and batch processing tasks in Word. Just follow bellowing steps to accomplish your mission.

1. First and foremost, open your target document.
2. Then click “Developer” tab if it’s available in the Ribbon.
3. And click “Visual Basic” next to open the VBA editor in Word. Or you can choose to press “Alt+ F11” instead.
4. Next click “Normal” on the left column.
5. And go to menu bar to click “Insert”.
6. On its drop-down menu, choose “Module”.![Click "Normal"->Click "Insert"->Click "Module"](<> "Click \"Normal\"->Click \"Insert\"->Click \"Module\"")
7. Then double click on the new module as to open it.
8. Paste following codes on module:

```
Sub FindAndReplaceMultiItems()
  Dim strFindText As String
  Dim strReplaceText As String
  Dim nSplitItem As Long
   
  Application.ScreenUpdating = False

  ' Enter items to be replaces and new ones.
  strFindText = InputBox("Enter items to be found here,seperated by comma: ", "Items to be found")
  strReplaceText = InputBox("Enter new items here, seperated by comma: ", "New items")
  nSplitItem = UBound(Split(strFindText, ","))

  ' Find each item and replace it with new one respectively.
  For nSplitItem = 0 To nSplitItem
    With Selection
      .HomeKey Unit:=wdStory
      With Selection.Find
        .ClearFormatting
        .Replacement.ClearFormatting
        .Text = Split(strFindText, ",")(nSplitItem)
        .Replacement.Text = Split(strReplaceText, ",")(nSplitItem)
        .Format = False
        .MatchWholeWord = False
      End With
    Selection.Find.Execute Replace:=wdReplaceAll
  End With
Next nSplitItem

  Application.ScreenUpdating = True

End Sub
```

9. Press “F5” to run the macro.![Paste Codes ->Click "Run"](<> "Paste Codes ->Click \"Run\"")
10. Now there will be the first input box. Enter items to be found and use comma to separate. Don’t enter a space after comma.
11. Then click “OK” to proceed.
12. In the second input box, enter new items and separate them with comma.
13. Finally, click “OK”.![Enter Items in Both Input Boxes and Click "OK"](<> "Enter Items in Both Input Boxes and Click \"OK\"")

## In the Face of Data Loss

It’s hard to be cheerful in the face of a data disaster which might destroy valuable information. However, there is no need to be panic since you can obtain a [Word repair](https://www.datanumen.com/word-repair/) utility by shelling out a small amount of money.

## Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including [excel corruption](https://www.datanumen.com/excel-repair/) and pdf repair software products. For more information visit [www.datanumen.com](https://www.datanumen.com/)

Share Now:

-
-
-
-
-
-
-
-

[← Previous post](https://www.datanumen.com/blogs/attach-excel-worksheet-pdf-attachment-outlook-email/)

[Next post →](https://www.datanumen.com/blogs/2-effective-ways-extract-text-pictures-file-printouts-word-document-via-ocr/)

Comments are closed.

![Data Recovery Blog]()

Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.

-
-
-

### Featured Products

- [DataNumen Outlook Repair](https://www.datanumen.com/outlook-repair/)
- [DataNumen SQL Recovery](https://www.datanumen.com/sql-recovery/)
- [DataNumen Exchange Recovery](https://www.datanumen.com/exchange-recovery/)
- [DataNumen Access Repair](https://www.datanumen.com/access-repair/)
- [DataNumen Excel Repair](https://www.datanumen.com/excel-repair/)
- [DataNumen PDF Repair](https://www.datanumen.com/pdf-repair/)
- [DataNumen Word Repair](https://www.datanumen.com/word-repair/)
- [DataNumen Zip Repair](https://www.datanumen.com/zip-repair/)

### Popular posts

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#article","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/"},"author":{"name":"AuthorCCW","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957"},"headline":"How to Find and Replace Multiple Items in Your Word Document","datePublished":"2017-07-05T07:16:56+00:00","dateModified":"2025-09-28T15:07:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/"},"wordCount":386,"commentCount":5,"publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg","articleSection":["Word Solutions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/","url":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/","name":"How to Find and Replace Multiple Items in Your Word Document","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#primaryimage"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg","datePublished":"2017-07-05T07:16:56+00:00","dateModified":"2025-09-28T15:07:46+00:00","description":"In today’s article, will show you how to find and replace multiple items in your Word document via VBA codes.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/find-replace-multiple-items-word-document\/#primaryimage","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/Find-and-Replace-Multiple-Items-in-Your-Word-Document.jpg","width":717,"height":729,"caption":"Find and Replace Multiple Items in Your Word Document"},{"@type":"WebSite","@id":"https:\/\/www.datanumen.com\/blogs\/#website","url":"https:\/\/www.datanumen.com\/blogs\/","name":"Data Recovery Blog","description":"Discuss every aspect of data recovery","publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.datanumen.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.datanumen.com\/blogs\/#organization","name":"Data Recovery Blog","url":"https:\/\/www.datanumen.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","width":296,"height":397,"caption":"Data Recovery Blog"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataNumen","https:\/\/x.com\/DataNumen","http:\/\/www.linkedin.com\/company\/datanumen","https:\/\/myspace.com\/datanumen\/","http:\/\/www.pinterest.com\/datanumen\/","https:\/\/www.youtube.com\/channel\/UCVIIuuKfUBHSJauUaVP13tw"]},{"@type":"Person","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957","name":"AuthorCCW","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","caption":"AuthorCCW"},"sameAs":["https:\/\/www.datanumen.com\/"]}]}
```
