Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am working in a very large spreadsheet and there are many text boxes and
arrows/line objects on the worksheet. I want to remove all of these wihtout having to select each individual text box, arrow and line. Is it possible to select all objects on a worksheet and delete them? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Yes it is... Edit | Goto | Special (button) | Objects -- Jim Cone Portland, Oregon USA "Stewart" wrote in message I am working in a very large spreadsheet and there are many text boxes and arrows/line objects on the worksheet. I want to remove all of these wihtout having to select each individual text box, arrow and line. Is it possible to select all objects on a worksheet and delete them? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Mar 5, 8:28*pm, "Jim Cone" wrote:
Yes it is... Edit | Goto | Special (button) | Objects -- Jim Cone Portland, Oregon *USA "Stewart" wrote in message I am working in a very large spreadsheet and there are many text boxes and arrows/line objects on the worksheet. *I want to remove all of these wihtout having to select each individual text box, arrow and line. *Is it possible to select all objects on a worksheet and delete them? use can use a code that will delete all the shapes Sub Button5_Click() Dim Sh As Shape With Worksheets("Sheet1") For Each Sh In .Shapes Sh.Delete Next Sh End With End Sub This next code will delete shapes from a specific range, modified code found at his site http://www.mvps.org/dmcritchie/excel/shapes.htm Sub ClearShapes() Dim r As Range Dim myshape As Shape Set r = Range(Worksheets("Sheet1").Range("B6"), Worksheets ("Sheet1").Range("L17")) Application.ScreenUpdating = False r.Select For Each myshape In ActiveSheet.Shapes If Intersect(myshape.TopLeftCell, _ Selection) Is Nothing Then 'do nothing Else myshape.Delete End If Next myshape Range("B6").Select End Sub |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks that was perfect.
"Jim Cone" wrote: Yes it is... Edit | Goto | Special (button) | Objects -- Jim Cone Portland, Oregon USA "Stewart" wrote in message I am working in a very large spreadsheet and there are many text boxes and arrows/line objects on the worksheet. I want to remove all of these wihtout having to select each individual text box, arrow and line. Is it possible to select all objects on a worksheet and delete them? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How does one select multiple drawn objects in Excel 2007? | Excel Discussion (Misc queries) | |||
how to delete multiple autoshape or objects in excel | Excel Discussion (Misc queries) | |||
delete multiple autoshapes or objects in excel | Excel Discussion (Misc queries) | |||
Select All controls in a worksheet and delete them | Excel Discussion (Misc queries) | |||
how can I select multiple drawing objects at once | Excel Discussion (Misc queries) |