Excel delete blanks help
Closed
ken
-
May 16, 2011 at 10:11 AM
Game Start Now Posts 138 Registration date Thursday January 21, 2010 Status Member Last seen May 8, 2019 - May 16, 2011 at 10:35 AM
Game Start Now Posts 138 Registration date Thursday January 21, 2010 Status Member Last seen May 8, 2019 - May 16, 2011 at 10:35 AM
Related:
- Excel delete blanks help
- Delete my whatsapp account without app - Guide
- Excel marksheet - Guide
- Number to words in excel - Guide
- Excel apk for pc - Download - Spreadsheets
- Kernel for excel - Download - Backup and recovery
1 response
Game Start Now
Posts
138
Registration date
Thursday January 21, 2010
Status
Member
Last seen
May 8, 2019
7
May 16, 2011 at 10:35 AM
May 16, 2011 at 10:35 AM
Insert Module & Paste It
Option Explicit
Sub deleteblankrows()
Application.ScreenUpdating = True
[C:C].AutoFilter Field:=1, Criteria1:="="
[C2:C65536].SpecialCells(xlVisible).EntireRow.Delete
If [C1] = "" Then [1:1].Delete
ActiveSheet.AutoFilterMode = False
Application.ScreenUpdating = True
End Sub
Option Explicit
Sub deleteblankrows()
Application.ScreenUpdating = True
[C:C].AutoFilter Field:=1, Criteria1:="="
[C2:C65536].SpecialCells(xlVisible).EntireRow.Delete
If [C1] = "" Then [1:1].Delete
ActiveSheet.AutoFilterMode = False
Application.ScreenUpdating = True
End Sub