+ Reply to Thread
Results 1 to 7 of 7

Out of Memory USERFORMS very large

  1. #1
    Registered User
    Join Date
    06-13-2015
    Location
    Austin Texas
    MS-Off Ver
    Office 365
    Posts
    4

    Out of Memory USERFORMS very large

    I am writing a USERFORM for a Walk to Emmaus Master Spreadsheet. There is so much information for the 3 day schedule and persons assigned to each task, that I have run out of memory. I assume the warning is being caused by too many fields and Subroutines to process each form.

    Because the entire form has too many fields/controls to fit on the screen all at the same time, I tried to use a multiple page control to organize the data/form controls. Since I have run out of memory, I am trying to find a way to reorganize the fields so I can swap from one form to another. I could not find definitive information about how to organize a very large userform so I am trying to break the form into multiple modules.

    Can you give advice about how best to proceed?

    Thanks Ahead of time for your help...

    Take Care,
    Richard

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Out of Memory USERFORMS very large

    Hi homepagestore and welcome to the forum,

    I've never heard of an "Out of Memory" error with Excel and large userforms. I have found there is a limit of the number of controls that can be put on a userform but the error message isn't what you describe.

    Have you considered Microsoft Access instead of Excel for your userforms? You can link you Excel tables into Access and make lots of userforms from there. Also, it is a lot easier to build and maintain userforms in Access than in Excel.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    06-13-2015
    Location
    Austin Texas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Out of Memory USERFORMS very large

    Thank you for the quick reply MarvinP, Yes, I agree an access database would be a good way to store the information. But I recently joined the Walk to Emmaus organization and this is an application written by someone else years ago. I am trying to make the interface more user friendly. Data is entered on something called the Master Sheet and then fields from that sheet are automatically populated into many different reports on other sheets. A person clicks a tab and prints the sheet to print the report.

    I know there is a 2gb memory limit on 32 bit Excel. Looking at the Task manager shows less than 1gb being used by excel. How can I trouble shoot a memory problem? I searched the internet without any success.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Out of Memory USERFORMS very large

    I've been wondering why you need UserForms at all to collect the data. Excel is great for storing information in cells, and there are lots of them.

    Where does the UserForm come into the problem? If the Userform is to simplify data entry, maybe some training is needed to simply enter the data into normal rows and columns.

  5. #5
    Registered User
    Join Date
    06-13-2015
    Location
    Austin Texas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Out of Memory USERFORMS very large

    We are using the system you are describing, entering the data into normal rows and columns. The issue is, these are not normal rows and columns. We scroll a massive sheet, 447 rows by "BF" columns, looking for cells that need information. The cells that need information have a yellow background. Cells are in many different sections. A section organizes the type of information. The person who designed this did a good job of labeling the sections where data must be entered but there are so many sections that the task of finding a specific section is daunting. A userform with tabs would simplify the process. Click on a tab to bring up the userform for a section, enter or modify the information, hit store, save the worksheet and your done.

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Out of Memory USERFORMS very large

    If your userform is causing an "out of memory" error, there must be a better way to accomplish the task.

    447 rows and lots of columns should not be a problem for Excel. I've had thousands of rows and hundreds of columns in a worksheet without a problem.

    Maybe a standardized userform would help. You can get one at:
    http://spreadsheetpage.com/index.php/dataform/home
    for free!!

  7. #7
    Registered User
    Join Date
    06-13-2015
    Location
    Austin Texas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Out of Memory USERFORMS very large

    Yes, I agree there must be a better way. I was hoping someone who encountered the same problem would tell me how they solved the problem. Do you know of any tool or debug procedure that will help me pinpoint the cause of the Out of Memory notice?

    I saw that application you listed before deciding to write the userforms. The App, appears to plug into a row of data and requires column labels. This sheet does not fit those requirements, the labels are in the first cell of the row.

+ 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. large file uses massive memory - crashes
    By lotsbg in forum Excel General
    Replies: 1
    Last Post: 05-17-2012, 02:17 AM
  2. Need VBA to find out memory and virtual memory used by thread
    By Yozhik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2011, 08:31 AM
  3. Large Excel files and memory errors
    By EnglishDeath in forum Excel General
    Replies: 2
    Last Post: 09-30-2006, 08:37 AM
  4. [SOLVED] Need a workaround for large workbook (need more formula memory)
    By J-Schutt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2006, 02:20 PM
  5. [SOLVED] out of memory problem! what to do for large matrix operations?
    By MCM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-18-2006, 09:15 AM
  6. [SOLVED] large sumproducts causing memory errors
    By dave in forum Excel General
    Replies: 0
    Last Post: 03-02-2005, 08:27 PM
  7. Not enough memory for large workbooks
    By Kevin in forum Excel General
    Replies: 2
    Last Post: 01-22-2005, 12:06 AM
  8. [SOLVED] Not enough memory for large workbooks
    By Kevin in forum Excel General
    Replies: 4
    Last Post: 01-21-2005, 07:06 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