+ Reply to Thread
Results 1 to 7 of 7

Problem with entry edit with userform

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Problem with entry edit with userform

    Hi,

    I would need your help regarding entry edit through userform. In my sample the problem is that I cannot change the Country (TextBox2) and Tel.number (TextBox3) entries just the Names (TextBox1).

    Could you give some advice how to modify the code?
    Thank you in advance the reply!

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

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Problem with entry edit with userform

    Please Login or Register  to view this content.

  3. #3
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem with entry edit with userform

    The reason this is happening is because the ComboBox1 code is triggered after the Name (TextBox1) is edited and not allowing the other 2 textboxes to be edited.. Put the
    Please Login or Register  to view this content.
    after the other 2 lines and it will work. Like so
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  4. #4
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: Problem with entry edit with userform

    Hi Tom,

    Thank you the helpful reply!

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem with entry edit with userform

    You're welcome. Glad I was able to help.
    Just for information, I tested the code that bakerman2 provided and it will work as well. In fact, I've used similar code that he provided for me not to long ago because it is a bit "cleaner" looking code and really shortened the code that I had been using.

  6. #6
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Problem with entry edit with userform

    @ Villalobos & Tom

    Many thanks for the rep.

  7. #7
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Problem with entry edit with userform

    Not a problem.

+ 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. Userform - problem command "save" (i.e. Edit/modify) button
    By mariec_06 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2015, 01:13 AM
  2. Replies: 0
    Last Post: 02-04-2014, 12:36 AM
  3. Edit VBA Userform code to run if only 1 entry that matches criteria
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-24-2013, 05:25 AM
  4. Populating VBA userform and Fetch previously entered data edit and make new entry
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-07-2013, 11:59 AM
  5. Replies: 2
    Last Post: 07-09-2012, 02:05 AM
  6. [SOLVED] VBA Userform Data Entry - Reference Number problem
    By TalResha in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-17-2011, 09:03 AM
  7. [SOLVED] Userform ComboBox entry disappearance problem
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2006, 11:10 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