Hi All,
I'm trying to run a macro that deletes all empty cells in range C1:DX24719) and shifts left but having used this code :
However this takes ages and has so far made Excel hang for about 20 mins...
How can I speed it up and why is it so slow?
Thanks for any help (again!)
I'm trying to run a macro that deletes all empty cells in range C1:DX24719) and shifts left but having used this code :
Code:
Sub DeleteCells()
Range("C1:H6").SpecialCells(xlCellTypeBlanks).Delete shift:=xlToLeft
End Sub
However this takes ages and has so far made Excel hang for about 20 mins...
How can I speed it up and why is it so slow?
Thanks for any help (again!)