Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Replacing Non Printable Characters

I have a userform in which comments are entered in a Multiline Textbox.
After transferring the contents of the textbox to a cell I find that it
contains a non printable character symbol at the end of each line.
How can I
a) prevent this from happening and
b) replace the existing non printable characters with Alt&Enter

Regards and TIA

Jim Burton


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Replacing Non Printable Characters - Sorted Now

I have included a bit of code when saving the data
i.e. Replace(textbox, Chr(13), "")
and it seems to work ok

also used it to cycle through the existing cells to remove previous
occurrences

Regards to all
Jim Burton

"SA3214 @Eclipse.co.uk" <sa3214<No Spam wrote in message
...
I have a userform in which comments are entered in a Multiline Textbox.
After transferring the contents of the textbox to a cell I find that it
contains a non printable character symbol at the end of each line.
How can I
a) prevent this from happening and
b) replace the existing non printable characters with Alt&Enter

Regards and TIA

Jim Burton



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Replacing Non Printable Characters - Sorted Now

thanks :) simple but work perfectly

Regards
Przemek

€žSA3214 @Eclipse.co.uk€ť pisze:

I have included a bit of code when saving the data
i.e. Replace(textbox, Chr(13), "")
and it seems to work ok

also used it to cycle through the existing cells to remove previous
occurrences

Regards to all
Jim Burton

"SA3214 @Eclipse.co.uk" <sa3214<No Spam wrote in message
...
I have a userform in which comments are entered in a Multiline Textbox.
After transferring the contents of the textbox to a cell I find that it
contains a non printable character symbol at the end of each line.
How can I
a) prevent this from happening and
b) replace the existing non printable characters with Alt&Enter

Regards and TIA

Jim Burton




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
Checking characters , non-printable etc. dhstein Excel Discussion (Misc queries) 1 February 25th 10 11:57 PM
Replacing Printable Ascii Codes susanmgarrett New Users to Excel 1 February 3rd 10 12:45 AM
Search and replace for non printable characters ricl999 Excel Programming 5 February 27th 09 08:32 PM
Replace non printable characters TonyL Excel Worksheet Functions 4 August 25th 07 01:03 PM
Viewing non-printable characters refresh Excel Discussion (Misc queries) 1 July 21st 06 02:25 PM


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