Results 1 to 6 of 6

Pass value and add line to multiline textbox

Threaded View

fredpox Pass value and add line to... 04-17-2010, 02:32 PM
royUK Re: Pass value and add line... 04-17-2010, 02:46 PM
fredpox Re: Pass value and add line... 04-18-2010, 05:12 AM
royUK Re: Pass value and add line... 04-18-2010, 05:39 AM
fredpox Re: Pass value and add line... 04-18-2010, 05:43 AM
fredpox Re: Pass value and add line... 04-18-2010, 06:02 AM
  1. #1
    Registered User
    Join Date
    02-21-2010
    Location
    Italy
    MS-Off Ver
    Excel 2013
    Posts
    77

    Pass value and add line to multiline textbox

    Hi there,
    I'm here to ask again for help since I can't find any solution on the Net coming for help..

    The scenario is the following:
    In a Userform I have a textbox in which the user enters the data.
    Clicking a Command Button I want to pass the inserted data in a destination Multiline Textbox.

    What I've done so far:
    Setting up the Userform with the controls and try to write the following code.

    Private Sub InsertData_Click()
    TextBox.Text = Data.Value & vbCrLf
    Data.Value = ""
    End Sub
    Problem:
    The values are always overwritten in the same line.

    Any hint?
    In attachment the dummy worksheet.

    thanks in advance!
    P.
    Attached Files Attached Files
    Last edited by fredpox; 04-18-2010 at 05:42 AM. Reason: marked as SOLVED

Thread Information

Users Browsing this Thread

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

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