Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Does Alt-Enter insert a non-printing character in a cell string?

You can force a carriage return linfeed into an Excel cell to cause the
visible text to wrap by using the key combination Alt-Enter.

But does doing that actually insert something into the text string of that
cell?

Would there be an invisible chr(010) + chr(013) in the text string?

--
Henry Stock, Network Administrator
onProject.com
3 Wing Drive
Cedar Knolls, NJ 07927-1006


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Does Alt-Enter insert a non-printing character in a cell string?

an invisible char(10).

You can check it out be using the LEN function.

--
Regards,
Tom Ogilvy

"Henry Stock" wrote in message
...
You can force a carriage return linfeed into an Excel cell to cause the
visible text to wrap by using the key combination Alt-Enter.

But does doing that actually insert something into the text string of that
cell?

Would there be an invisible chr(010) + chr(013) in the text string?

--
Henry Stock, Network Administrator
onProject.com
3 Wing Drive
Cedar Knolls, NJ 07927-1006




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Does Alt-Enter insert a non-printing character in a cell string?

Thanks Tom. I appreciate the help.

"Tom Ogilvy" wrote in message
...
an invisible char(10).

You can check it out be using the LEN function.

--
Regards,
Tom Ogilvy

"Henry Stock" wrote in message
...
You can force a carriage return linfeed into an Excel cell to cause the
visible text to wrap by using the key combination Alt-Enter.

But does doing that actually insert something into the text string of

that
cell?

Would there be an invisible chr(010) + chr(013) in the text string?

--
Henry Stock, Network Administrator
onProject.com
3 Wing Drive
Cedar Knolls, NJ 07927-1006






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Does Alt-Enter insert a non-printing character in a cell string?

Check further with some VBA:

Sub checkASC()
Dim i
For i = 1 To Len(Selection)
MsgBox Mid(Selection, i, 1) & " is ASC code " & Asc(Mid(Selection, i,
1))
Next i

End Sub



"Tom Ogilvy" wrote in message
...
an invisible char(10).

You can check it out be using the LEN function.

--
Regards,
Tom Ogilvy

"Henry Stock" wrote in message
...
You can force a carriage return linfeed into an Excel cell to cause the
visible text to wrap by using the key combination Alt-Enter.

But does doing that actually insert something into the text string of
that
cell?

Would there be an invisible chr(010) + chr(013) in the text string?

--
Henry Stock, Network Administrator
onProject.com
3 Wing Drive
Cedar Knolls, NJ 07927-1006






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
How do I insert a hard break (alt enter) in a concatenated string Alphafiction Excel Discussion (Misc queries) 5 February 24th 07 08:11 PM
insert "-" as fourth character in number string cursednomore Excel Discussion (Misc queries) 2 February 7th 07 07:33 PM
How to put line feed in a cell using a character not Alt/Enter David Crowther Excel Discussion (Misc queries) 1 October 3rd 05 06:59 PM
Help Me!!. can not set the string with len more than 255 character to the value cell hvtrang Excel Programming 1 July 15th 04 02:27 AM
Macro to insert "0" in front of 4 character string Lowell B. Copeland[_2_] Excel Programming 2 August 29th 03 03:43 PM


All times are GMT +1. The time now is 04:19 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"