+ Reply to Thread
Results 1 to 2 of 2

help with multiline textbox and manipulating text sting

Hybrid View

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    Mumbai, IN
    MS-Off Ver
    Office 365
    Posts
    97

    help with multiline textbox and manipulating text sting

    i have a textboz called tb1 which shows the values of five cells combined. those cells have procedures listed in them which a person has to do . those procedures in the cell are separated by and enter. to make it simple a cell can contain-

    idnetify customer
    verify customer
    concern
    resolve
    anything else


    so this is one procedure listen in one cell call a1. when i activate the userform it shows me the value of that cell on the tb1 ( multiline so different procedures in different lines) .

    what i want is a way to be able to do this: when a user puts "#" in whatever line number (which means he completed that procedure), i want that line deleted from that textbox.



    also: but the previous condition that i put that tb1 shows the value of the five cells kind of creates a problem. so what i want is that when that line deletes from tb1, it also removes it from those cells, so that it doesnt keep coming ack.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: help with multiline textbox and manipulating text sting

    instead of
    =A1 & vbNewLine & B1 & vbNewLine & C1
    etc
    use
    =(if(left(A1.value,1)<>"#",A1 & vbnewline, "") & if(left(A1.value,1)<>"#",B1 & vbNewLine,"") &
    ......etc
    If someone has helped you then please add to their Reputation

+ 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. Populating text to a textbox from a listbox multiline in sequence.
    By molesy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2014, 03:37 AM
  2. Replies: 2
    Last Post: 01-05-2013, 12:42 AM
  3. TextBox MultiLine and WordWrap
    By BillWilts in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2010, 12:52 PM
  4. Multiline textbox where the text can be selected and copied but not edited
    By Brunstgnegg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2010, 06:53 AM
  5. Scrollbars on a multiline textbox
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-14-2008, 11:32 AM

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