A code like cells(1,4).End(xlUp)
works fine in Excel XP but not in 2003
Sub a() For i = 2 To Cells(1, 4).End(xlUp) If (Cells(i, 4).Value = 3.9) Then Range(Cells(i, 4), Cells(i, 4).End(xlToRight)).Copy Cells(i - 1, 6) Rows(i).Delete End If Next End Sub
What may be the problem? What should be done?