Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to delete every row on the sheet where cell B has no value. How
can I do that? Regards, SE |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) wrote in message oups.com... I want to delete every row on the sheet where cell B has no value. How can I do that? Regards, SE |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For i = Cells(Rows.Count,"B").End(xlUp).Row To 1 Step -1
If Cells(i,"B").value = "" Then Rows(i).Delete End If Next i -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) wrote in message oups.com... I want to delete every row on the sheet where cell B has no value. How can I do that? Regards, SE |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot, Bob!
// SE Bob Phillips skrev: For i = Cells(Rows.Count,"B").End(xlUp).Row To 1 Step -1 If Cells(i,"B").value = "" Then Rows(i).Delete End If Next i -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) wrote in message oups.com... I want to delete every row on the sheet where cell B has no value. How can I do that? Regards, SE |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop & Delete | Excel Discussion (Misc queries) | |||
Loop and delete | Excel Programming | |||
loop and delete | Excel Programming | |||
A loop to delete | Excel Programming | |||
loop to delete rows... | Excel Programming |