View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
vmadan16 vmadan16 is offline
external usenet poster
 
Posts: 18
Default Macro for Trimming

Hi Allllen,

thanx a lot,

It worked well.


can One more thing added to that

xxxxx =
in the above case it worked well.

one more thing can be added to that (i.e)
xxxxx , =
in this case that is If
a comma(i.e more than one character) is there in front or at the end of the
angular brackets it is not working is there any solution for this.

If so pls let me know. thanx in advance.
Madhan




"Allllen" wrote:

I am not sure if you really need a macro for this.
If your data is in column A, put this in cell B1 and extend the formula all
the way down column B
=MID(A1,FIND("<",A1)+1,LEN(A1)-FIND("<",A1)-1)
Hope that helps you!
--
Allllen


"vmadan16" wrote:

Hello All,

Please help me to trim a file with more than 1000 email Ids.
It is in the below form
xxxxx

from the above mentioned form I should get only the perfect email Id. (i.e)
xxxxx =


Please help me to build this Macro. It will be very helpful for me.

Thanx in Advance.
Madhan