Clean up an imported report

For pasted data: remove hidden characters and spaces, fix text numbers, delete empty rows and columns.

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

What it does, step by step

  1. Remove hidden characters in A1:Z1000
  2. Trim extra spaces in A1:Z1000
  3. Turn text into numbers in B2:Z1000
  4. Delete empty rows
  5. Delete empty columns
  6. Auto-fit the columns

Use it in MacroRoni: open the Starter gallery, search for "Clean up an imported report", 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