+ Reply to Thread
Results 1 to 4 of 4

Cannot remove crlf from textbox

  1. #1
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Cannot remove crlf from textbox

    Hi guys,

    Is there a way to replace the new-line character in a textbox?
    I've attached a sample file with expected result.

    Thank you.
    Attached Files Attached Files
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Cannot remove crlf from textbox

    You have both vbCr and vbLf, so your code should be

    Please Login or Register  to view this content.
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Cannot remove crlf from textbox

    Replace this

    Please Login or Register  to view this content.
    With

    Please Login or Register  to view this content.
    Edit: Slow Testing/Typing


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: Cannot remove crlf from textbox

    Thanks a bunch!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] MultiLine Textbox to auto remove blank line, count line, remove duplicate
    By khhoa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2015, 09:28 PM
  2. CRLF duplicate when copying data
    By DaRe in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-15-2011, 06:45 PM
  3. Creating a CRLF
    By Bruce A. Julseth in forum Excel General
    Replies: 5
    Last Post: 05-03-2006, 10:10 PM
  4. [SOLVED] CRLF in .cvs file
    By LMI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2006, 09:35 AM
  5. [SOLVED] HELP - How to replace CRLF with a character withing an excel column
    By Dino Buljubasic in forum Excel General
    Replies: 1
    Last Post: 08-25-2005, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1