by shevek » Fri Nov 14, 2008 6:01 pm
hi,
i use the following code to paste the value of one cell into another when it is triggered...
lastrow = Target.Rows.Count
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
If Cells(3, 49) = 1 Then
Cells(3, 51) = Cells(3, 50)
Else
End If
Application.EnableEvents = True
instead of pasting to a target cell i want to paste to the next free space in a column...i.e. each time it is triggered it will paste the value from (3, 50) first to cell (3, 51) then (4, 51) then (5, 51) etc...
can anyone tell me how to modify the code please...
thanks