+ Reply to Thread
Results 1 to 2 of 2

Excel crashes when macro is run, but individual portions of macro function when stepped

  1. #1
    Registered User
    Join Date
    06-15-2018
    Location
    Worcester, Massachusetts
    MS-Off Ver
    Microsoft Excel for Mac Version 15.33 (170409)
    Posts
    2

    Question Excel crashes when macro is run, but individual portions of macro function when stepped

    So I have a lot of data from a machine in the lab that needs to be parsed and made accessible for me, so I designed a macro to do this in a manner that is expandable in terms of every thing I may want to expand about it. Basically I designed the macro in the individual steps tested each, then combined them. Each individual step functions, but when I try to run the macro as a whole excel CTDs... Obviously this is not at all helpful. I assume it's because I'm asking it to do a lot, and this is especially concerning as the data sets will likely only get larger with more parameters to cycle through. Is there any way to make it take a break every once in a while or something to make it actually function. I've attached an example data table that I've been using to construct the macro with as well as the macro and the crash error files separately in case the don't properly save in the table. I tried to comment things decently so others can have an idea or what I'm trying to do. Any help would be appreciated thanks.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-15-2018
    Location
    Worcester, Massachusetts
    MS-Off Ver
    Microsoft Excel for Mac Version 15.33 (170409)
    Posts
    2

    Re: Excel crashes when macro is run, but individual portions of macro function when steppe

    I should add when I put strategic breaks in the testing thing, it seems to break at the area near the end beginning with:

    'Establishes values of each
    For r = 2 To max_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. Excel crashes with macro
    By scorpiousdelectus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-25-2013, 07:51 AM
  2. Macro crashes excel after using the macro recorder.
    By bopsgtir in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2012, 02:41 PM
  3. Macro works when stepped through but not when run (Excel03)
    By AdLoki in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2011, 01:27 PM
  4. Module crashes, but not when stepped through using F8?
    By brl8 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2010, 02:54 PM
  5. Excel Macro crashes
    By windpowerfinance in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2010, 03:21 AM
  6. Using Sort function in macro crashes
    By sfax39 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-04-2009, 03:47 PM
  7. Works when stepped-through, but errors when macro ran
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2006, 09:50 PM
  8. [SOLVED] My Macro crashes excel - anyone know why.
    By Bruce in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2006, 08:10 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