Clean, then export CSV

Remove extra spaces and hidden characters, then save the sheet as Export.csv.

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
  3. Save as Export.csv

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

Get MacroRoni free

More print & share macros