Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a range selected in a Column and am trying to delete the Blan cells out. The following code works if there are blank cells in th range, but if there are not it gives an error. Selection.SpecialCells(xlCellTypeBlanks).Delete Shift:=xlUp Is there a way of doing it so it doesn't give an error, or should just do On Error Resume Next for this section of the macro -- Krage ----------------------------------------------------------------------- Krager's Profile: http://www.excelforum.com/member.php...fo&userid=2093 View this thread: http://www.excelforum.com/showthread.php?threadid=40170 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove blank cells from data validation drop down box | Excel Worksheet Functions | |||
remove blank cells - no sorting | Excel Worksheet Functions | |||
how to remove blank cells in excel | Excel Discussion (Misc queries) | |||
Remove blank cells from a range | Excel Discussion (Misc queries) | |||
Deleting blank cells in a selection | Excel Programming |