+ Reply to Thread
Results 1 to 5 of 5

Userform slow to enter data - event handling issue (I think)

  1. #1
    Registered User
    Join Date
    12-22-2016
    Location
    Alexandria, Virginia
    MS-Off Ver
    2016
    Posts
    3

    Userform slow to enter data - event handling issue (I think)

    I'm not smart enough to get to the root of this myself. I'm fairly certain this an event handling issue and I need to suppress events as part of my userform, and I've read http://www.cpearson.com/Excel/SuppressChangeInForms.htm, but I can't figure out how to apply that solution to my sheet.

    All three of my userforms in the attached sheet are frankly quite slow. I'm pretty sure this has to do with my use of dynamic named ranges in populating the drop-downs in the combo-boxes, but again I can't figure out how to avoid this slowing the form down to a crawl when hitting submit.
    Last edited by baiken315; 12-29-2016 at 12:56 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Userform slow to enter data - event handling issue (I think)

    Hello

    you have not used the Kiss principle when creating your Userforms.

    [ Kiss = Keep It Simple Stupid ].

    In the deposit form, There are 6 options

    Programme Areas 1 to 5 and restricted.

    So why not use 6 buttons?
    Last edited by mehmetcik; 12-22-2016 at 03:55 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    12-22-2016
    Location
    Alexandria, Virginia
    MS-Off Ver
    2016
    Posts
    3

    Re: Userform slow to enter data - event handling issue (I think)

    I can appreciate the KISS principle, but I'm not certain 6 buttons accomplishes any more simplicity. All of my combo-boxes need to pull from existing options for the drop-down, but also allow-free entry in the case the user is adding a new program area, etc. Each deposit entry should contain data for each field (with a few exceptions for notes, etc.) but I view that as a single submittal, not 6 different submittals.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Userform slow to enter data - event handling issue (I think)

    Bear with me

    I am working with it.

    Ok I played around with your first three inputs.

    I would swap the first and second inputs around if I were you.


    Ok I had a lot of issues interfacing the Datepicker with your Deposit userform. Sorted now.
    Attached Files Attached Files
    Last edited by mehmetcik; 12-22-2016 at 05:54 PM.

  5. #5
    Registered User
    Join Date
    12-22-2016
    Location
    Alexandria, Virginia
    MS-Off Ver
    2016
    Posts
    3

    Re: Userform slow to enter data - event handling issue (I think)

    Thanks for the help, much appreciated.

+ 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. Replies: 0
    Last Post: 02-27-2014, 04:43 PM
  2. [SOLVED] Excel VBA event handling
    By vangxbg in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-06-2013, 03:25 PM
  3. Excel Refreshing Data from Web special character handling issue
    By dkhunt27 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 05:30 PM
  4. [SOLVED] VBA, MultiPage with UserForm. Syntax issue. mousemove event.
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-22-2012, 01:59 PM
  5. userform event handling within a standard code module?
    By jerseyguy1996 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2010, 01:01 PM
  6. event handling froma userform
    By jad70 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2009, 09:15 AM
  7. MsgBox in Enter event causes combobox not to run Change event
    By Richard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2006, 10:55 AM
  8. [SOLVED] Event handling...
    By Alex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2005, 03:14 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