![]() |
|
#1
|
|||
|
|||
![]()
I don't understand what you're trying to do and I have a real problem with activecells and selects,
maybe something like this ? Code:
Dim lr As Long, x As Long With Sheets("WinShuttleUpload (2)") lr = .Cells(Rows.Count, "I").End(xlUp).Row For x = lr To 3 Step -1 If .Cells(x, "I") <> "" Then .Cells(x + .Range("N" & x).Value, "I").Value = .Cells(x, "I").Value .Cells(x, "I").ClearContents End If Next x End With |
#2
|
|||
|
|||
![]() Quote:
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
gsrikanth | Excel Programming | 2 | 03-28-2022 06:32 AM |
![]() |
OTPM | Project | 3 | 01-02-2014 01:47 PM |
![]() |
tinfanide | Excel Programming | 2 | 06-09-2012 10:19 AM |
![]() |
Manit | Excel Programming | 4 | 12-08-2011 07:35 PM |
Compile error: sub or function not defined.. | xena2305 | Excel Programming | 0 | 08-02-2011 10:17 AM |