Skip to main content

How to remove all text boxes in Word?

Author: Amanda Li Last Modified: 2024-07-11

Text boxes in Word documents are useful for highlighting specific sections of text or for creating a specific layout. However, there may come a time when you need to remove all text boxes from a document, whether for reformatting purposes or to simplify the document's structure. Manually deleting each text box can be tedious, especially in lengthy documents.

In this tutorial, we will guide you through efficient methods to remove all text boxes in Word, helping you streamline your document editing process.

Manually remove text boxes one by one
Remove all text boxes with VBA code
Easily remove all text boxes without removing text with Kutools for Word


Manually remove text boxes one by one

If there are just one or two text boxes you want to remove, you can do as follows:

Step 1: Click inside the text box and press Ctrl+C to copy the text (skip this step if you don’t want to keep the text).

Step 2: Click the border of the text box, press Delete.

Step 3: Repeat step 1 and step 2 until all the undesired text boxes are removed.


Remove all text boxes with VBA code

While there are too many text boxes you want to remove, and you don’t want to keep the text inside either, VBA code will be great helpful. Please use VBA code to remove all text boxes in document as follows:

1. Press Alt+F11 to open the VBA window in Word;

2. Click Module in Insert tab, and insert the VBA code into Module window;

3. Click Rundoc-reverse-sign-6 button to apply the VBA code (or press F5);

The VBA code to remove all text boxes without keeping text:

Sub Test()
Dim oShp As Word.Shape
Dim i As Long
For i = ActiveDocument.Shapes.Count To 1 Step -1
Set oShp = ActiveDocument.Shapes(i)
If oShp.Type = msoTextBox Then
oShp.Delete
End If
Next i
End Sub

Note: This VBA code can only remove the drawing text boxes.


Easily remove all text boxes with Kutools for Word

You can remove all text boxes but keep their contents or remove both text boxes and their contents in document with Kutools for Word.

Kutools for Word, equipped with AI 🤖, offers over 100 handy features to simplify your tasks.

1. Please apply this utility by clicking Kutools > Remove > Remove All Text Boxes. See screenshot:

2. If you just want to remove the text boxes and keep the text, please check Just remove text box, and keep the text option in Remove All Text Boxes dialog, then click OK. If you want to remove both the text box and the text, please uncheck it.

3. Then a dialog box is popping up to tell you how many text boxes are removed successfully, please click the OK button.

Then you can see all text boxes with or without contents are removed from the document. See screenshots:

Tip: After removing text boxes from document, blank rows may show up. Then the Remove Empty Paragraph Marks utility of Kutools for Word can help you remove all empty rows from document at the same time. Please click Kutools > Empty Paras > Remove Empty Paragraph Marks. See screenshot:

Then all empty rows are removed from current document automatically at the same time:

Click here to download Kutools for Word.


Demo: Easily remove all text boxes without removing text with Kutools for Word


Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

🤖 Kutools AI Assistant: Transform your writing with AI - Generate Content  /  Rewrite Text  /  Summarize Documents  /  Get Quick Answers, all within Word

📘 Document Mastery: Split Pages  /  Merge Documents  /  Export Selection in Various Formats (PDF/TXT/DOC/HTML...)  /  Batch Convert to PDF  /  Export Pages as Images  /  Print Multiple Files at once...

Contents Editing: Batch Find and Replace across Multiple Files  /  Resize All Pictures  /  Transpose Table Rows and Columns  /  Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces  /  Section Breaks  /  All Headers  /  Text Boxes  /  Hyperlinks  /  For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators  /  Check Boxes  /  Radio Buttons  /  QR Code  /  Barcode  /  Diagonal Line Table  /  Equation Caption  /  Image Caption  /  Table Caption  /  Multiple Pictures  /  Discover more in the Insert group...

🔍 Precision Selections: Pinpoint Specific Pages  /  Tables  /  Shapes  /  Heading Paragraphs  /  Enhance navigation with more Select features...

Star Enhancements: Navigate to Any Location  /  Auto-Insert Repetitive Text  /  Toggle Between Document Windows  /  11 Conversion Tools...

👉 Want to try these features? Download Kutools for Word now! 🚀
 

 

Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
it removed all the tekstlayout - very enoying because it is a scenariotext
This comment was minimized by the moderator on the site
mijn tekst layout is weg , vervelend vanuit pages, een scenarioprogramma
This comment was minimized by the moderator on the site
menuda basura. Me fastidió un texto completo, no tenéis vergüenza.
This comment was minimized by the moderator on the site
thnx ,,but it says kutool removed 0 text boxes.. and the VBA didnt work as well
This comment was minimized by the moderator on the site
i want to remove all single rows
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations