Thread: extra space
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Jean-Yves[_2_] Jean-Yves[_2_] is offline
external usenet poster
 
Posts: 253
Default extra space

Hi Max,

You can use the Trim function to remove leading and trailing blanks (before
and after - not in the middle)
Regards,
Jean-Yves

"MAx" wrote in message
...
I'm running a macro to compare to sets of values, but it's not working

because after one imported strings has a space on the end it.

Grateful for any ideas to get round this problem.