Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Excel 2003 imported Outlook contacts have nonprinting characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Circe - 05 Feb 2008 21:26 GMT
I need to remove nonprinting characters that appear from an imported Outlook
contacts spreadsheet.  Find and replace is not helpful and I am not sure how
to do this with formulas and maintain the values.  Any ideas.
Gord Dibben - 05 Feb 2008 23:34 GMT
Try edit>replace

what:  Alt + 0160  (on the numpad)

with:  nothing or a space

If no joy, post back or hang around for more replies.

You could try this macro which replaces with spaces.

Sub Remove_CR_LF()
With Selection
.Replace What:=Chr(160), Replacement:=Chr(32), _
    LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False
.Replace What:=Chr(13) & Chr(10), Replacement:=Chr(32), _
    LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False
.Replace What:=Chr(10), Replacement:=Chr(32), _
    LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False
   End With
End Sub

Change =Chr(32) to  =""  if you want no space.

Gord Dibben  MS Excel MVP

>I need to remove nonprinting characters that appear from an imported Outlook
>contacts spreadsheet.  Find and replace is not helpful and I am not sure how
>to do this with formulas and maintain the values.  Any ideas.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.