I'm trying to delete spaces in front of the text and after the text in a 20k records sheet. I tried different trim VBA code, but I'm not getting the result I want. Sometimes people copy in records into our sheets with lots of spaces in front of the text and after the text and sometimes it doesn't delete all spaces.
Does someone have an idea how I can do this?