+ Reply to Thread
Results 1 to 6 of 6

Run Time Error 7 Out of Memory

  1. #1
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Run Time Error 7 Out of Memory

    This error has all of a sudden locked up my macros out of no where. It appears to only have an issue when I call on my form. The form is quite large so I suppose this could be an issue but I am overall guessing I need to make the form small but I am not sure. Any ideas on how to fix this?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Run Time Error 7 Out of Memory

    When you get the error, click Debug and then hit CTRL+L...

    You should now see the Call Stack which will show you a list of all the procedures that have been called that are still 'active'.

    That might shed some light on what's causing the problem.

    For example, it might show you a procedure that is being called over and over again, perhaps even calling itself.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Re: Run Time Error 7 Out of Memory

    Useful to know. I think I have made the discovery that I just simply have to many controls on the form. I have been trimming ones that are less important and it appears to be as long as I stay below a certain number.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Run Time Error 7 Out of Memory

    How many controls do you have on the form?

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED, scroll down and click Manage Attachments.

  5. #5
    Registered User
    Join Date
    02-29-2016
    Location
    Berkeley, California
    MS-Off Ver
    2010
    Posts
    1

    Re: Run Time Error 7 Out of Memory

    I had persistent Error 7, always at same VBA line. Turns out I had a typo: I was concatenating cell.values and left out the address: A = Cells(1,1).value & Cell & Cells(2,1).value
    I removed the typo, Error 7 disappeared.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Run Time Error 7 Out of Memory

    Eliot, thanks for the input
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Run-Time error '7' Out of Memory
    By smciesl2 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2014, 01:50 PM
  2. [SOLVED] Run-time error '7': Out of memory
    By jitte in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2013, 06:14 AM
  3. Run Time error 7 - out of memory
    By sfw1973 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2013, 11:55 AM
  4. [SOLVED] Run-time error 7: out of memory
    By gandrea in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2012, 08:16 PM
  5. [SOLVED] Run-time error 7 out of memory vba
    By Jovica in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2012, 09:08 AM
  6. Run-time error 7 out of memory vba
    By Macro1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2010, 09:42 AM
  7. Run-time error '7': Out of memory
    By rpollard001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2006, 04:45 PM
  8. Run-time error '7': Out of memory
    By rpollard001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2006, 02:15 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