Does this do what you want?
Sub MoveFirstNonZeroPlusNext17Cells()
Dim X As Long
For X = 1 To Columns.Count - 18
If Cells(1, X).Value > 0 Then
Cells(1, X).Resize(1, 18).Copy Cells(1, X).Offset(3)
Exit For
End If
Next
End Sub
--
Rick (MVP - Excel)
"AirgasRob" <(E-Mail Removed)> wrote in message
news:C23AF5C3-E887-4EA7-81FF-(E-Mail Removed)...
> Hi Rick,
> Sorry for confusion.
>
> I would like to start in cell A1 and go across until I find >0
> A1, B1, C1, ect..
>
> If A1 is first cell >0 then copy that cell and the next 17 cells. A1:R1
>
> Then paste values 3 rows down in this case A4:R4
|