Hi Is there a code to remove spaces from selected cells in the active sheet while creating a macro?
Jun 28th 2022 #1 HiIs there a code to remove spaces from selected cells in the active sheet while creating a macro?
Jun 28th 2022 #2 This will delete EXTRA spaces. Of did you want to delete ALL spaces ? Code Sub DelSpcsInCol() Dim rng As Range Set rng = ActiveSheet.Range("A1:A10") rng.Value = Application.Trim(rng) End Sub