If you are looking for an Excel formula, just use =SUBSTITUTE(A1,"ABC","")
On Jul 21, 8:37 pm, "Daniel" <dcolarde...@free.fr> wrote: > HI, > > Sub ABCReplace() > > [A1].Replace "ABC", "#" > > End Sub > > Regards. > > Daniel > > De : excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] De > la part de Prabhu > Envoyé : jeudi 21 juillet 2011 17:26 > À : excel-macros@googlegroups.com > Objet : $$Excel-Macros$$ Re: ***Formula for find and replace*** > > Hi Friends, > > Can you help me to know the formula for find and replace.Example i need to > find "ABC in the A1 cell and replace with "#". If there is no 'ABC" > existing A1 should remain as it is.(Not using ctr+H) > > Example. > > Existing Cell Replace as > > 12ABC 12# > > 13XYZ 13XYZ > > -- > ---------------------------------------------------------------------------- > ------ > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links > :http://twitter.com/exceldailytip > 2. Join our LinkedIN group @http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials athttp://www.excel-macros.blogspot.com > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below > linkhttp://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel