LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How can I delete the end of line (result of shift-enter)

Private Sub CommandButton1_Click()
Range("B9").Value = _
Application.Substitute(TextBox1.Text, Chr(13), "")
End Sub

Make sure wordwrap is turned on in the cell.


Regards,
Tom Ogilvy

"Kali" wrote in message
...
Hello there

I have a form with multilined text boxes, in order to
insert several lines I go "shift-enter", but when I save
it, there is an extra character at the end of each line.
I would really like to get rid of it.

If you could help me, it would be great.

Thanks!
Kali



 
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
Ctrl+shift+enter [email protected] Excel Worksheet Functions 9 March 26th 09 11:46 AM
How do I enter a formula that will delete a line when a cell = 0? Jen Excel Worksheet Functions 1 April 11th 06 06:21 PM
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. qwopzxnm Excel Worksheet Functions 2 October 20th 05 09:06 PM
ctrl+shift+enter vs enter tkaplan Excel Discussion (Misc queries) 7 May 27th 05 05:10 PM
How can I delete the end of line (result of shift-enter) Jake Marx[_3_] Excel Programming 2 September 30th 03 08:31 PM


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