+ Reply to Thread
Results 1 to 5 of 5

Simplifying data entry, but UserForms gives memory error message. Other solutions?

  1. #1
    Registered User
    Join Date
    07-06-2019
    Location
    Africa
    MS-Off Ver
    Office 2010
    Posts
    3

    Question Simplifying data entry, but UserForms gives memory error message. Other solutions?

    Hello,

    I'm working to streamline data entry into a large excel file. Basically, we have multiple projects, and we have to enter data across multiple related fields for each month. I'm self-taught excel (thanks for forums like this one) and a complete novice to any sort of programming. I've done a small amount of playig with macros and userforms. I've figured out that a user form could solve my problems, but I keep getting an error message that I'm out of memory when I try to run it. I've attached a screenshot of part of the spreadsheet (white cells for data entry, gray cells autopopulate) we want to use, and of the userform I started. For the userform, I haven't added extra code, besides adding items from the toolbox to the form.

    We have been having users just enter data directly into the spreadsheet, but now it's hundreds of columns wide and not very user friendly. I was thinking a user form for data entry could help, but since each entry is a matrix, I'm not sure it will work. I'm open to any suggestions that would help make it easier for the end users. Also- for the spreadsheet screenshot, this is just one project entry "0". Each project would be a new user form entry and add another 16 rows.

    Thanks in advance.
    UserForm.PNG
    Spreadsheet Sample.PNG
    Last edited by AliGW; 07-08-2019 at 04:20 AM. Reason: Irrelevant section of title removed.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Help! Simplifying data entry, but UserForms gives memory error message. Other solution

    Hi and welcome to the forum.

    It would be easier to help if you could attach the file rather than pics of it.

    BSB

  3. #3
    Registered User
    Join Date
    07-06-2019
    Location
    Africa
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Help! Simplifying data entry, but UserForms gives memory error message. Other solution

    Good point, and thanks for your willingness to help! I've attached the file here. This is a new workbook that's an attempt to consolidate multiple old versions. I was still in the process of building the userform when I started getting the memory error. I assume it's because there are too many items in the userform. So far this isn't even close to operational, but is a work in progress. Eventually, it will have other sheets, for different teams, and will have a summary sheet doing weighted/total calculations.

    Maybe a userform isn't the solution in this case, but I am open to other possibilities. Many of the end users that will be doing data entry are not skilled in excel, so having such a large spreadsheet is intimidating for them- and leads to entry errors.
    Attached Files Attached Files

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Simplifying data entry, but UserForms gives memory error message. Other solutions?

    That's a LOT of controls on one userform!!! And I think that's the issue here. Search for this issue on Google (other search engines are available! ) and you'll read a lot of differing opinions on why this happens.
    Building userforms is a big part of what I do for a living and I've run into this issue many times when being over adventurous with the controls in the past.

    If you HAVE to use Excel for this (i.e. you cannot use an actual database / DBMS) then the trick is splitting one big userform down into several smaller userforms.

    If your current userform is for data entry only then do you need all those controls is the question you should be asking yourself.

    Here's a few more:
    - Does the user need to see all those previous month's worth of data on the form at once?
    - Could they get away with a shorter view, say 3 or 6 months previous, and still work effectively?
    - Do they need all the future months visible on the userform if they're only to be updating a short way into the future?
    - Would multi-column listboxes work to mitigate the need for all those textboxes for previous months?

    If I were the developer on this there are MANY more questioins I would ask, but I shall leave it at that for now.

    I'm sure Excel COULD manage this task if it were designed efficiently. But to say for sure I'd need to know a WHOLE lot more about the project in hand and you may need to head down the path of a developer to do the work for you.

    BSB

  5. #5
    Registered User
    Join Date
    07-06-2019
    Location
    Africa
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Simplifying data entry, but UserForms gives memory error message. Other solutions?

    Thanks BSB,

    I was guessing that was the problem. Thanks for the other suggestions! The month system we use for entry is strange, but it saves a lot of time later for calculations. I think it would be possible to split into smaller userforms though. I appreciate the advice- at least this way I don't waste time trying to build something that can't run.

    Even though I've gotten some good advice, I am open to any other feedback from this forum.

+ 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. Out of Memory USERFORMS very large
    By homepagestore in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-04-2015, 04:00 PM
  2. Replies: 1
    Last Post: 07-06-2014, 04:20 PM
  3. Data Entry UserForms color change problems
    By Bolton9190 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-15-2013, 01:54 PM
  4. Replies: 0
    Last Post: 03-10-2013, 11:17 PM
  5. userforms search data entry
    By cfinch100 in forum Excel General
    Replies: 0
    Last Post: 10-30-2012, 11:15 PM
  6. Excel 2007 : Help simplifying data entry
    By TNisbet in forum Excel General
    Replies: 1
    Last Post: 07-30-2012, 02:37 PM
  7. [SOLVED] error message with userforms
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2005, 10:06 AM

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