Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
PERFECT. Thanks!!
"Mike R." wrote: Hi - I am a little stuck here. I am sure it is something easy. Sub testing() Dim irows As Integer Dim iloop Dim iloop2 irows = ActiveSheet.UsedRange.Rows.Count For iloop = irows To 2 Step -1 If Cells(iloop, 8) < "" Then _ For iloop2 = irows To 2 Step -1 If Cells(iloop2, 11) = Cells(iloop, 8) Then _ Cells(iloop2, 5).Value = Cells(iloop, 5).Value Cells(iloop, 1).EntireRow.Delete Next iloop2 Next iloop End Sub I am getting the 'End if without Block if' error. Help please. Thank you, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error: Block If without End If | Excel Programming | |||
end if without block if error | Excel Programming | |||
End If without Block If Error Help | Excel Programming | |||
VBA error - End If without Block If | Excel Worksheet Functions | |||
Error - End If Without Block | Excel Programming |