+ Reply to Thread
Results 1 to 6 of 6

2 Texboxes and One Cell

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    United States America
    MS-Off Ver
    Excel 2003
    Posts
    3

    2 Texboxes and One Cell

    I wanted to know if its possible to have two textboxes in a userform that contain first name (textbox1) and last name (textbox2). In sheet 1 have the values of the textboxes in one cell. In A1 the full name would appear.

    I looked on different sites and couldn't find an answer. If someone can direct me to a solution that would be very appreciated.

    Thank you.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: 2 Texboxes and One Cell

    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.

    Hope this helps.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  3. #3
    Registered User
    Join Date
    05-10-2010
    Location
    United States America
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: 2 Texboxes and One Cell

    I thought that would do the trick but no...

    Maybe I'm putting it somewhere it doesn't belong.

  4. #4
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: 2 Texboxes and One Cell

    Quote Originally Posted by Militant View Post
    Maybe I'm putting it somewhere it doesn't belong.
    Where are you putting it?
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  5. #5
    Registered User
    Join Date
    05-10-2010
    Location
    United States America
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: 2 Texboxes and One Cell

    First I tried in the Userform_Change.

    Then Module.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: 2 Texboxes and One Cell

    You could put the code in the Change event of BOTH textboxes
    Please Login or Register  to view this content.
    But it is more usual to use a CommandButton
    Please Login or Register  to view this content.

    Where is the change event for a UserForm?

    Your textboxes are not on a worksheet are they?

    Cheers
    Last edited by Marcol; 06-09-2010 at 10:05 PM.

+ Reply to Thread

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