Auto Populate cells from bottom to top vba
Closed
lin
-
Aug 19, 2010 at 05:38 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Aug 20, 2010 at 08:47 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Aug 20, 2010 at 08:47 AM
Related:
- Auto Populate cells from bottom to top vba
- Grand theft auto v free download no verification for pc - Download - Action and adventure
- How to stop facebook from auto refreshing - Guide
- Grand theft auto iv download apk for pc - Download - Action and adventure
- Vba case like - Guide
- Auto redial samsung - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Aug 20, 2010 at 08:47 AM
Aug 20, 2010 at 08:47 AM
Try this
Sub FillUp() Dim lRow As Long Dim sLastValue As String lRow = Cells(Rows.Count, "A").End(xlUp).Row Do While True If (Cells(lRow, 1) <> "") Then sLastValue = Cells(lRow, 1) Else Cells(lRow, 1) = sLastValue End If lRow = lRow - 1 If (lRow = 0) Then Exit Do Loop End Sub