+ Reply to Thread
Results 1 to 4 of 4

I want to add from one textbox to another without replacing the value using a button

  1. #1
    Registered User
    Join Date
    10-25-2013
    Location
    sAINT jOHN , CANADA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Question I want to add from one textbox to another without replacing the value using a button

    I am having some troubles with the following code. I have a listbox and when I click my 'Add' button it sends the value of the selected listbox item to textbox19 and also adds in a semi-colon. It works, but I dont want it to replace the value of textbox19, I want the 'Add" button to add to the textbox19 value... Reference picture below, if I clicked 'Add' twice, textbox19's text should read: AI; AI;
    Make sense? seems like it could be any easy fix.

    Here is my screen capture: Capture1.JPG

    Here is my Add button code:
    Please Login or Register  to view this content.
    Thanks in advance for the help!

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: I want to add from one textbox to another without replacing the value using a button

    Hi hookjtf2,

    Welcome to ExcelForum and thank you very much for using CODE TAGS.

    Try:
    Please Login or Register  to view this content.
    Lewis

  3. #3
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: I want to add from one textbox to another without replacing the value using a button

    Try...

    Please Login or Register  to view this content.
    Hope this helps!

  4. #4
    Registered User
    Join Date
    10-25-2013
    Location
    sAINT jOHN , CANADA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: I want to add from one textbox to another without replacing the value using a button

    Thank you so much, I tried both solutions and they both work perfectly. This one is solved.

+ 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] Help With Using Option Button and Textbox with A Command Button
    By VBTroubles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2014, 09:40 AM
  2. [SOLVED] Userform Textbox Replacing String
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-28-2014, 07:22 PM
  3. Replies: 3
    Last Post: 05-07-2012, 09:46 PM
  4. Replacing a character in a textbox
    By CobraLAD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2010, 07:46 AM
  5. Userform: Pass textbox values to another textbox on button press
    By adjustermn in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2010, 11:19 PM

Tags for this Thread

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