+ Reply to Thread
Results 1 to 2 of 2

Run Textbox change event just when user make changes

  1. #1
    Registered User
    Join Date
    08-16-2011
    Location
    Tehran,Iran
    MS-Off Ver
    Excel 2007
    Posts
    25

    Run Textbox change event just when user make changes

    Hi,
    I have a userform with a list box. on Click event for the list box, all text boxes get the data about that row, from the sheets.
    textbox "C" calculate data when the data in textboxes "A" or "B" changes. the value of text box "C" is saved in sheets, too.
    so when the data is loaded from the sheets, textbox "C" get the value, and then, textbox "C" get the data from the sheets, again.
    calculating textbox "C" have a huge vba code. so I perefer the code on change of textboxes "A" and "B" run just when the user enters data not when they fill by vba code. Is it possible?

    thank you for you help

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Run Textbox change event just when user make changes

    Hello s_samira_21,

    The quickest way to diagnose and correct VBA UserForm problems is post a copy of your Workbook. Before you post, please remove or change any information that is personal, confidential, or your workplace considers to be sensitive.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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] Change event as you type in textbox
    By antros48 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2019, 03:28 AM
  2. Change event to Convert (calculate) user input if user types % sign
    By soundneedle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2016, 12:01 PM
  3. [SOLVED] TextBox change event
    By Dave H9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2014, 09:24 AM
  4. [SOLVED] LostFocus event for TextBox - how to make it work
    By kmeld in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2013, 03:51 AM
  5. TextBox Change Event HELP
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-13-2013, 10:16 AM
  6. Textbox Change event
    By Kerno in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2007, 05:08 AM
  7. Replies: 0
    Last Post: 11-30-2005, 01:10 PM

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