OH! and don't forget:
Application.ScreenUpdating = False
z = ActiveSheet.UsedRange.Row - 1 + _
ActiveSheet.UsedRange.Rows.Count
For x = ActiveCell.Row To z
If Cells(x, 1).Value < "" Then
val1 = Cells(x, 1).Value
Else
Cells(x, 1).Value = val1
End If
Next x
Application.ScreenUpdating = True
- Pikus
---
Message posted from
http://www.ExcelForum.com/