How can i copy up a cellcopy-up-help.xlsx Please help!
How can i copy up a cellcopy-up-help.xlsx Please help!
Hi,
Try this code on your problem.
![]()
Sub CopyUpA() Dim RowCtr As Double Dim LastRow As Double LastRow = Cells(Rows.Count, "A").End(xlUp).Row For RowCtr = LastRow To 1 Step -1 If Cells(RowCtr, "A") = "" Then Cells(RowCtr, "A") = Cells(RowCtr + 1, "A") End If Next RowCtr End Sub
Last edited by MarvinP; 06-09-2013 at 02:02 AM.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
its says the formula has error... thanks.
I have found another way to do this by using Ctrl-G, special. thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks