A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Sub Test() Dim A As Range For Each A In Range("A1", Range("A" & Rows.Count).End(xlUp)) Do While A.Offset(, 1) = 0 A.Offset(, 1).Delete xlShiftToLeft Loop Next Range("A1").CurrentRegion.Replace 0, "" End Sub