Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel spreadsheet is corrupted with multiple text boxes?

I have a Excel spreadsheet that I use for scheduling. I have a problem with
multiple (empty) text boxes appearing over multiple cells in the spreadsheet.
Is this a bug? What is a quicker way to delete all of the unwanted text box
frames? At present, I am selecting the box, hitting the 'Delete' key and
then selecting the box directly underneath. There are up to 50 text box
frames piled one on top of the other that I am deleting individually!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excel spreadsheet is corrupted with multiple text boxes?

If the only Shapes on your worksheet are these unwanted Text Boxes, then try
this tiny macro:

Sub CleanUp()
Dim s As Shape
For Each s In ActiveSheet.Shapes
s.Delete
Next
End Sub



Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm




--
Gary''s Student - gsnu200855


"Jim_C" wrote:

I have a Excel spreadsheet that I use for scheduling. I have a problem with
multiple (empty) text boxes appearing over multiple cells in the spreadsheet.
Is this a bug? What is a quicker way to delete all of the unwanted text box
frames? At present, I am selecting the box, hitting the 'Delete' key and
then selecting the box directly underneath. There are up to 50 text box
frames piled one on top of the other that I am deleting individually!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to select multiple text boxes in excel for formatting Rob New Users to Excel 3 April 2nd 23 08:38 PM
Excel spreadsheet comment boxes keep shrinking smaller than text. TM Excel Worksheet Functions 5 January 4th 08 06:19 AM
delete multiple "drop down" boxes in an excel spreadsheet SFJayhawk Excel Discussion (Misc queries) 3 June 9th 06 10:38 PM
Multiple text boxes selection Rafisahb Excel Worksheet Functions 2 July 18th 05 12:38 PM
Embedded Excel Spreadsheet in MS Word Corrupted Mary Excel Worksheet Functions 0 March 24th 05 05:29 PM


All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"