Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() if the cells are already selected you can try either of the following: Selection.Delete Shift:=xlUp or Selection.EntireRow.Delete Shift:=xlUp - I need to be able to delete rows (via VBA) that a user selects on a worksheet. The rows can be non-contiguous. I have seen several examples to delete non-contiguous rows based on a cell value, but not for non-contiguous selected rows. Any suggestions??? Thanks, Barb Ryan- -- Ikaabod ------------------------------------------------------------------------ Ikaabod's Profile: http://www.excelforum.com/member.php...o&userid=33371 View this thread: http://www.excelforum.com/showthread...hreadid=540379 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to automatically delete non-contiguous rows | Excel Discussion (Misc queries) | |||
Delete a selected area from a non-contiguous range | Excel Programming | |||
delete all rows above a selected cell | Excel Programming | |||
Delete non-selected rows | Excel Programming | |||
Delete Selected Rows | Excel Programming |