Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need the code below altered so it deletes the entire row the blank cell is
in. Dim xRange As Range Dim xCell As Range For Each xCell In Sheets("CDPTR").Range("A2:A25") If xCell.Value = 0 Then If xRange Is Nothing Then Set xRange = xCell Else Set xRange = Union(xRange, xCell) End If End If Next xCell xRange.Delete Shift:=xlup -- Thanks Shawn |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Challenge - Excel Line Feed Character CHR(10) - How to Delete and keep the text formatting without going ro single line in a cell ? | Excel Worksheet Functions | |||
Delete first line line(s) of text-file? | Excel Programming | |||
Delete all but first line | Excel Discussion (Misc queries) | |||
Delete every other line | Excel Programming | |||
Delete every other line | Excel Programming |