Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default locating carriage return within cells

chr(13) is a carriage return
chr(10) is a line feed

I'm a little old school and seem to remember someone saying something
along the lines that chr(10) isn't needed anymore, but that could be
wrong.

Cheers,
Jason Lepack

Roland wrote:
I need to locate cells that contain carriage returns. I have no trouble
writing the VBA code to loop each cell and test each character within each
cell. But I do not know what constant to use as I compare each character to
identify carraiage returns. Can someone please tell me the constant that
represents a carriage return?
Many thanks.
--
Roland


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
Separating carriage return data into separate cells Richard Excel Discussion (Misc queries) 2 May 11th 09 09:12 PM
Carriage Return Freddo Excel Worksheet Functions 2 March 22nd 07 10:34 AM
How do merge two cells with a carriage return in between the two v Richard Excel Discussion (Misc queries) 5 April 19th 06 08:45 PM
Join 2 cells with carriage return in between MaxBrit Excel Discussion (Misc queries) 2 January 12th 06 10:18 AM
Carriage Return Tom Ogilvy Excel Programming 3 August 20th 03 07:22 PM


All times are GMT +1. The time now is 03:02 PM.

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"