Thanks A million Gary"s Student, works great... :-0)
--
Les
"Gary''s Student" wrote:
> Select the cells and run:
>
> Sub spacekiller()
> For Each r In Selection
> r.Value = Replace(r.Value, " ", "")
> Next
> End Sub
>
>
>
> --
> Gary''s Student - gsnu200743
>
>
> "Les" wrote:
>
> > Hi all, i am pulling a text file into excel and the one field, e-mails, has a
> > lot of spaces of variable size in it, is there a way i can delete these with
> > code ??
> >
> > Any help would be greatly appreciated...
> > --
> > Les
|