Trim spaces everywhere

Remove extra spaces and hidden characters from every cell in the sheet.

Changes data. A backup copy and an undo point are turned on.

What it does, step by step

  1. Trim extra spaces in A1:Z1000
  2. Remove hidden characters in A1:Z1000

Use it in MacroRoni: open the Starter gallery, search for "Trim spaces everywhere", check the steps, and adjust the sheet and ranges to fit your workbook. Preview the result before you run it.

Get MacroRoni free

More clean up macros