Excel_Assis
Board Regular
- Joined
- Feb 19, 2011
- Messages
- 132
- Office Version
- 2016
- Platform
- Windows
Could someone please help with the following.
For i = 37 To .Range("B" & .Rows.Count).End(xlUp).Row
If .Range("E" & i).Value <> "" Then
.Range("E" & i).Offset(0, -1).Value = .Range("E" & i).Value
End If
The code works to line starting with For i = 37 To .Range
then skips over the rest. It all worked fine on another spread sheet.
For i = 37 To .Range("B" & .Rows.Count).End(xlUp).Row
If .Range("E" & i).Value <> "" Then
.Range("E" & i).Offset(0, -1).Value = .Range("E" & i).Value
End If
The code works to line starting with For i = 37 To .Range
then skips over the rest. It all worked fine on another spread sheet.