Copy cells in excel if cell above is null
Closed
Tara
-
Mar 14, 2012 at 09:42 PM
aquarelle Posts 7181 Registration date Saturday April 7, 2007 Status Moderator Last seen February 14, 2026 - Mar 15, 2012 at 05:32 AM
aquarelle Posts 7181 Registration date Saturday April 7, 2007 Status Moderator Last seen February 14, 2026 - Mar 15, 2012 at 05:32 AM
Related:
- Copy cells in excel if cell above is null
- Excel arrow keys not moving cells - Guide
- Excel multiple lines in one cell - Guide
- Excel mod apk for pc - Download - Spreadsheets
- How to delete cells in word - Guide
- How to copy data from one excel sheet to another - Guide
2 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Mar 15, 2012 at 02:19 AM
Mar 15, 2012 at 02:19 AM
why not just sort column A
aquarelle
Posts
7181
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
February 14, 2026
491
Mar 15, 2012 at 05:32 AM
Mar 15, 2012 at 05:32 AM
Hi,
Try this macro :
Best regards
Try this macro :
Sub CompleteEmptyCell()
x = Range("A65536").End(xlUp).Row
For y = 1 To x
If Range("A" & y) = "" Then Range("A" & y) = Range("A" & y + 1)
Next
End Sub
Best regards