Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Several rows need to be deleted but the area contains some text boxes which
are not deleted - they are 'squashed up' between the row above and the row below the range deleted. I do not know if it will matter if they remain but I should like to get rid of them. The trouble is they cannot be selected because their names vary. This recorded macro worked, of course, for this unique arrangement: Sub Macro3() ActiveSheet.Shapes.Range(Array("Text Box 5", "Text Box 1730", "Text Box 1732", _ "AutoShape 1734")).Select Selection.Delete ActiveCell.Rows("1:17").EntireRow.Select Selection.Delete Shift:=xlUp ActiveCell.Select End Sub Is there a way of selecting ANY objects within an range of cells irrespective of their names - a 'Select All' between RowX and RowY? If so whatever was gathered up in this way could be deleted. Francis Hookham |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with Deletion | Excel Programming | |||
Problem with validation deletion/modification | Excel Programming | |||
Problem with Conditional format deletion | Excel Discussion (Misc queries) | |||
Excel Problem in detail/updation, deletion | Excel Programming | |||
Excel VBA - Userform updation/deletion problem | Excel Programming |