Why trim is not working in VBA?
for i = 3 to 2000 activesheet.cells(i,\"C\").value = trim(Activesheet.cells(i,\"C\").value) next i
It is un
My related issue was that the last character was a chr(160) - a non-breaking space. So trim(replace(Str,chr(160),"")) was the solution.