Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Remove Hard Return

Hi All,

I've got a Text file I want to import to Excel but it has a (a Har
Return in Text format) in it I want to delete before its imported int
excel. Is this possible and how do I go get rid of it.

Example;

A1 A2
Stephen dep1
Mark dep1
Jay dep1

Thanks in advange.

Stephe

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Remove Hard Return

Sorry People, it looks like the Rectangular can't been seen if you vie
this post. It looks like [] in a text file.

Stephen


Stephen wrote:
*Hi All,

I've got a Text file I want to import to Excel but it has a (a Har
Return in Text format) in it I want to delete before its importe
into excel. Is this possible and how do I go get rid of it.

Example;

A1 A2
Stephen dep1
Mark dep1
Jay dep1

Thanks in advange.

Stephen


--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Remove Hard Return

you can loop through the text you imported looking for a
Chr(10)

then remove that carecter

-----Original Message-----
Sorry People, it looks like the Rectangular can't been

seen if you view
this post. It looks like [] in a text file.

Stephen


Stephen wrote:
*Hi All,

I've got a Text file I want to import to Excel but it

has a (a Hard
Return in Text format) in it I want to delete before

its imported
into excel. Is this possible and how do I go get rid

of it.

Example;

A1 A2
Stephen dep1
Mark dep1
Jay dep1

Thanks in advange.

Stephen *



---
Message posted from http://www.ExcelForum.com/

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Remove Hard Return

I'll give it a try, thanks.

Stephen



steve wrote:
*you can loop through the text you imported looking for a=20
Chr(10)=20

then remove that carecter=20

-----Original Message-----
Sorry People, it looks like the Rectangular can't been=20

seen if you view
this post. It looks like [] in a text file.

Stephen


Stephen wrote:
*Hi All,
=20
I've got a Text file I want to import to Excel but it=20

has a =0C (a Hard
Return in Text format) in it I want to delete before=20

its imported
into excel. Is this possible and how do I go get rid=20

of it.
=20
Example;
=20
A1 A2
Stephen dep1
Mark dep1
=0CJay dep1
=20
Thanks in advange.
=20
Stephen *



---
Message posted from http://www.ExcelForum.com/

.


--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Remove Hard Return

I would suggest TRIMALL macro at
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
simply removing a CHR(10) in your code will result in
some words joined together as one.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Stephen " wrote in message ...
I'll give it a try, thanks.

Stephen



steve wrote:
*you can loop through the text you imported looking for a=20
Chr(10)=20

then remove that carecter=20

-----Original Message-----
Sorry People, it looks like the Rectangular can't been=20

seen if you view
this post. It looks like [] in a text file.

Stephen


Stephen wrote:
*Hi All,
=20
I've got a Text file I want to import to Excel but it=20

has a =0C (a Hard
Return in Text format) in it I want to delete before=20

its imported
into excel. Is this possible and how do I go get rid=20

of it.
=20
Example;
=20
A1 A2
Stephen dep1
Mark dep1
=0CJay dep1
=20
Thanks in advange.
=20
Stephen *


---
Message posted from http://www.ExcelForum.com/

.
*



---
Message posted from http://www.ExcelForum.com/



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
remove a hard return in a cell slickrok Excel Discussion (Misc queries) 3 August 8th 07 04:08 PM
Hard return ttribble Excel Worksheet Functions 4 June 19th 07 04:33 AM
Replace ; with hard return Stephanie Excel Discussion (Misc queries) 11 April 17th 07 10:11 PM
how to remove hard returns, which show as little boxes eames.librarian Excel Discussion (Misc queries) 3 August 4th 05 07:46 PM
hard return alphadog47 New Users to Excel 2 February 26th 05 08:38 PM


All times are GMT +1. The time now is 03:43 AM.

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

About Us

"It's about Microsoft Excel"