Skip to main content

How to quickly delete all text boxes in Excel?

Are there tricks to delete multiple Text Boxes in workbook? It is time-consuming to delete each Text Box one by one. Actually, there are several ways can help you quickly delete all text boxes:


Delete all text boxes or other objects in active worksheet with Go To function

1. Click F5 or Ctrl+G to display the Go To dialog, and then click Special.., see screenshot:

2. In the popped out Go To Special dialog box, select Objects, and then click OK button, see screenshot:

3. And all the objects in current worksheet have been selected at once, see screenshot:

4. Then, you just need to press the Delete key on the keybord to remove all these text boxes as well as other objects.

Note: This method will not only delete all text boxes, but also delete all kinds of shapes in active worksheet, including pictures, ClipArt, Shapes, SmartArt, charts, etc.

Delete all text boxes in active worksheet with VBA code

Sometime you may want to delete only the text boxes, but remains other shapes, such as charts, pictures, a VBA macro will be a good choice to delete all text boxes only in active worksheet, please do with the following steps:

1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following macro in the Module window.

VBA code: Delete all text boxes from current worksheet:

Sub DeleteAllTextBoxes()
ActiveSheet.TextBoxes.Delete
End Sub

3. Press the F5 key to run this macro, and only the text boxes in current worksheet are deleted, see screenshots:


Delete all text boxes in active worksheet, selected sheets or workbook with a handy feature

Kutools for Excel's Delete Illustrations & Objects can help you to delete only the text boxes in active worksheet, selected worksheets or the whole workbook without affecting other shapes.

Note:To apply this Delete Illustrations & Objects, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click the Kutools > DeleteDelete Illustrations & Objects, see screenshot:

2. In Delete Illustrations & Objects dialog box, check the Text Boxes option, and then specify the scope where you want to delete the text boxes from, see screenshot:

3. Then, click OK. And all the text boxes will be removed at once in active worksheet, selected worksheets, or the whole workbook according to the options you checked.

Tips: Kutools for Excel's Illustrations & Objects feature can help us delete all charts, lines, pictures, auto shapes, smart arts, text boxes, linked OLE objects and embedded OLE objects in active worksheet, selected worksheet or all worksheets of the current workbook as you need.  Click to know more…

More relative articles:

  • Delete All Pictures Or Other Objects In Excel
  • If you want to delete all pictures from Microsoft Excel, it may be time-consuming to select each picture and delete them one by one. The following tricks may ease your work to delete all pictures.
  • Delete All Hidden Rows Or Columns In Excel
  • If you have a large workbook with a lot of hidden rows and columns, and now the hidden data are unavailable, you would like to delete all of them. How could you quickly delete them?
  • Delete Multiple Empty Columns Quickly In Excel
  • Sometimes when you import data to Microsoft Excel from some source, such as web page, CSV, text, etc., there may be many empty columns with it. It must be time-consuming to delete each empty column one by one. Therefore, some of us search for easy ways to solve this problem. This article collects some tricky tips to help you delete multiple empty columns quickly.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (29)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Very Tank you
This comment was minimized by the moderator on the site
How are you

Hoping someone can help me

What I want to do is a program or use Excel so that with a click on a text box or image it goes and sends signals to the parallel port (it can be half a second or something, it doesn't need to stay on
And so if I have 16 buttons or text boxes, every time they click on it, I send signals to the parallel post

I don't know if any of you can help me know how to do it or where to get the information or where to post the information to get an answer to my question.

Greetings and thanks in advance

PS: I will make about 16 text boxes that, when pressed, change color from white to green and at the same time send a signal to the parallel port (from 1 to 8 bits) and trigger 16 relays... thx again
This comment was minimized by the moderator on the site
How are you

Hoping someone can help me

What I want to do is a program or use Excel so that with a click on a text box or image it goes and sends signals to the parallel port (it can be half a second or something, it doesn't need to stay on
And so if I have 16 buttons or text boxes, every time they click on it, I send signals to the parallel post

I don't know if any of you can help me know how to do it or where to get the information or where to post the information to get an answer to my question.

Greetings and thanks in advance

PS: I will make about 16 text boxes that, when pressed, change color from white to green and at the same time send a signal to the parallel port (from 1 to 8 bits) and trigger 16 relays... thx again
This comment was minimized by the moderator on the site
Muchas gracias, me ha sido de gran ayuda.
This comment was minimized by the moderator on the site
Thank you, exel in my company almost not work and that helped
This comment was minimized by the moderator on the site
Thank you very much.

It was textboxes that slowed my excel sheet
This comment was minimized by the moderator on the site
the VBA system worked for me 6 months ago but now giving a 'run time error' out of memory. Reseted computer with only the excel open and nothing running heavy in the background. Any clues?
This comment was minimized by the moderator on the site
useful article.
This comment was minimized by the moderator on the site
delete text box but keep the value is possible
This comment was minimized by the moderator on the site
GOD BLESS YOU!!!! WAS AN ANNOYING FREAKING OBJECT!!! Problem Solved!!!!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations