when you post in programming, often the answer you get is VB code. You
should specify when you want otherwise.
--
Regards,
Tom Ogilvy
"wagz" wrote:
> So is the first part of this reply code for VB or what do I do with it? The
> code search came back with 160.
>
> "Tom Ogilvy" wrote:
>
> > Maybe it is a non-breaking space character:
> >
> > for each cell in selection
> > cell.value = Replace(cell.value,chr(160),"")
> > Next
> >
> > If you need to test what it is
> >
> > Sub TestCell()
> > Dim s as String
> > s= Right(ActiveCell.Value,1))
> > msgbox "->" & s & "<-, is chr: " & asc(Right(ActiveCell.Value,1))
> > End sub
> >
> > or in an adjacent cell
> > =code(Right(A1,1))
> >
> >
> > Whatever it says use as the argument to chr above (if it appears to be the
> > character you want to replace).
> >
> > --
> > Regards,
> > Tom Ogilvy
> >
> >
> >
> > "wagz" wrote:
> >
> > > I have a column of data and each one of these email address in this column
> > > has a space at the end of it. I have used the "Clean" and "Trim" functions
> > > to eliminate the space at the end. I am at whits end with this one. I have
> > > even done a find and replace to find " " with "". Nothing seems to work.
> > > Any help would be appreciated.
> > >
> > > Thanks
|