How to write vba macro in excel 2013 to delete cells in column
Closed
waisi
Posts
1
Registration date
Sunday October 12, 2014
Status
Member
Last seen
October 12, 2014
-
Oct 12, 2014 at 08:50 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Oct 13, 2014 at 11:53 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Oct 13, 2014 at 11:53 AM
Related:
- How to write vba macro in excel 2013 to delete cells in column
- How to write & in laptop - Guide
- Microsoft office 2013 free download - Download - Office suites
- Number to words in excel formula without vba - Guide
- How to delete whatsapp account without login - Guide
- How to write pi in keyboard - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Oct 13, 2014 at 11:53 AM
Oct 13, 2014 at 11:53 AM
Hi Waisi,
See if the following code yields the desired result:
Best regards,
Trowa
See if the following code yields the desired result:
Sub RunMe() Dim x As Long x = 1 Do Range(Cells(x, "A"), Cells(x + 1, "A")).EntireRow.Delete x = x + 1 Loop Until IsEmpty(Range("A" & x)) End Sub
Best regards,
Trowa