R
Richard
I'm having this problem when trying to delete empty cells
using this method but I'm getting a run time error
1004 "no cells found". I'd like for all the empty cells to
be deleted after each worksheet_change not in the
before_close but I can't get this code to work at all
there. Any sugestions. Please!! Thanks in advance!
Private Sub Workbook_BeforeClose(Cancel As Boolean)
On Error GoTo inputagain
[A:A].SpecialCells(xlBlanks).EntireRow.Delete
inputagain: Exit Sub
End Sub
using this method but I'm getting a run time error
1004 "no cells found". I'd like for all the empty cells to
be deleted after each worksheet_change not in the
before_close but I can't get this code to work at all
there. Any sugestions. Please!! Thanks in advance!
Private Sub Workbook_BeforeClose(Cancel As Boolean)
On Error GoTo inputagain
[A:A].SpecialCells(xlBlanks).EntireRow.Delete
inputagain: Exit Sub
End Sub