Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Removing Chr(10)

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
MH MH is offline
external usenet poster
 
Posts: 30
Default Removing Chr(10)

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

"Daniel Bonallack" wrote in
message ...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing na Steve Excel Discussion (Misc queries) 3 January 26th 10 09:19 PM
Removing text between hyphens and removing the hyphens sonofroy Excel Discussion (Misc queries) 8 January 20th 10 05:25 PM
Removing #N/A Anto111 Excel Discussion (Misc queries) 4 June 24th 08 09:44 PM
Removing patterns without removing gridlines pennyb9 Excel Discussion (Misc queries) 1 July 11th 07 02:43 AM
Removing the +4 from zip+4 Manu Excel Discussion (Misc queries) 4 December 21st 04 03:54 AM


All times are GMT +1. The time now is 08:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"