It is in text format only. Still it is the same.
I found some thing. Actually for each cell there is a empty space at the end. I removed that manually.Now it is working. Is there any VBA code to remove empty space in the end? Because I have to do the same task for about 200 cells. Thanks in advance