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 / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Removing Chr(10)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Bonallack - 21 Mar 2006 05:40 GMT
Hi am trying to get rid of the little box that shows up when you view with
"Wrap Text" turned off.  My download contains thousands of them.
Previously I've found it easy with:
   Selection.Replace What:=Chr(10), Replacement:="", LookAt:=xlPart, _
       SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
       ReplaceFormat:=False

But on one sheet, this has no affect, like Excel just ran out of memory.  
Some of the cells contain more than 255 characters - is this the problem?

Thanks in advance for any help
Daniel
MH - 21 Mar 2006 12:33 GMT
You probably need to find/replace using Chr(13) as well, some files use a
carriage return/Linefeed pair instead of one or the other.

MH

> Hi am trying to get rid of the little box that shows up when you view with
> "Wrap Text" turned off.  My download contains thousands of them.
[quoted text clipped - 8 lines]
> Thanks in advance for any help
> Daniel
 
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.