+ Reply to Thread
Results 1 to 4 of 4

Runtime error 7 out of memory vba apple mac

Hybrid View

  1. #1
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Runtime error 7 out of memory vba apple mac

    I know that the MacbookAir has a limited memory and that loop is pretty long

    Try this
    'Proceso de borrado de filas
    
    For I = NumRow To 2 Step - 1
        If IsEmpty(Cuadro(I, 1)) Then Exit For
        J = J + 1
        If WorksheetFunction.CountIf(Sheets("Filtro").Range("A2:A60000"), "*" &  Cuadro(I, 1) & "*") <> 0 Then
            Cuadro(I, 1).EntireRow.Delete
        End If
        Application.StatusBar = "Queries procesadas: " & J & " de " & NumRow - 5 & "."
        DoEvents
    Next I
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  2. #2
    Registered User
    Join Date
    08-26-2016
    Location
    Argentina
    MS-Off Ver
    2011
    Posts
    7

    Re: Runtime error 7 out of memory vba apple mac

    Quote Originally Posted by mikerickson View Post
    I know that the MacbookAir has a limited memory and that loop is pretty long

    Try this
    'Proceso de borrado de filas
    
    For I = NumRow To 2 Step - 1
        If IsEmpty(Cuadro(I, 1)) Then Exit For
        J = J + 1
        If WorksheetFunction.CountIf(Sheets("Filtro").Range("A2:A60000"), "*" &  Cuadro(I, 1) & "*") <> 0 Then
            Cuadro(I, 1).EntireRow.Delete
        End If
        Application.StatusBar = "Queries procesadas: " & J & " de " & NumRow - 5 & "."
        DoEvents
    Next I
    It doesn't work, I mean it runs but it's not doing what i wanted in first code. Thanks anyways!

+ 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. Runtime error 7 out of memory vba apple mac
    By ezetalamona in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2016, 01:21 PM
  2. [SOLVED] How do I convert text ie apple to string "apple" in excel or VBA?
    By dav_mark in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2013, 06:05 PM
  3. Replies: 1
    Last Post: 12-08-2011, 08:52 AM
  4. runtime error “out of memory”+excel macro
    By bhavin12300 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-11-2010, 02:25 AM
  5. [SOLVED] Runtime Error "7": Out of Memory
    By Run Time Error "7" in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2005, 08:10 AM
  6. How to handle error 8007000e Memory Error
    By L. A. M. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-27-2005, 11:05 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