How to Delete a Text Box in Excel – 3 Methods

 

This is the sample dataset.

Dataset of how to delete text box in excel


Method 1 – Applying a Generic Method to Delete Text Box in Excel

A text box was added under the dataset. To delete the text box with its border:

Using Generic way to delete text box in excel

Steps:

  • Select the text box.

Using Generic way to delete text box in excel

  • Press Backspace or Delete.

This is the output.

Using Generic way to delete text box in excel

 

Read More: How to Edit Text Box in Excel


Method 2 – Using the Go to Option to Delete the Text Box

Using Go to option to delete text box in excel

Steps:

  • Press Ctrl + G.
  • In the Go To window, select Special.

Using Go to option to delete text box in excel

  • Select Object.
  • Click OK.

Using Go to option to delete text box in excel

  • Excel will select all text boxes.

Using Go to option to delete text box in excel

  • Press Backspace or Delete.

This is the output.

Using Go to option to delete text box in excel

 

Read More: How to Align Text Boxes in Excel


Method 3 – Using VBA to Delete the Text Box

Use a VBA code to delete the text box:

Implementing VBA to Delete Text Box in excel

Steps:

  • Press Alt + F11 to display the Microsoft Visual Basic for Application window.

Implementing VBA to Delete Text Box

  • Select Module.

  • Enter the following VBA code into the module.
Sub DeleteAllTextBoxes()
ActiveSheet.TextBoxes.Delete
End Sub

DleteAllTextBoxes() deletes all text boxes.

  • Click Run.

This is the output.

 

 


Download Practice Workbook

Download the workbook.


Related Articles


<< Go Back to TextBox | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Souptik Roy
Souptik Roy

Souptik Roy, a BSc graduate in Naval Architecture and Marine Engineering from Bangladesh University of Engineering and Technology, dedicated 1.5 years to the ExcelDemy project. During this time, he authored 50+ articles and reviewed 20+ for ExcelDemy. Presently, he is a designer and content developer at YouHaveGotThisMath and Brainor, sister concerns of ExcelDemy. His educational content spans science, mathematics, and grammar. Roy's interests include developing creative ideas, visualizing concepts with tools like Adobe Illustrator, and problem-solving within Microsoft... Read Full Bio

2 Comments
  1. HI.thanks a lot

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo