+ Reply to Thread
Results 1 to 5 of 5

Excel crashes when macros are enabled

  1. #1
    Registered User
    Join Date
    12-24-2012
    Location
    milan
    MS-Off Ver
    Excel 2010
    Posts
    16

    Excel crashes when macros are enabled

    Hi,

    I have a workbook with the following macros, all in "module 1". All the macros are activated via an ActiveX form button:
    Please Login or Register  to view this content.
    When I try to open the file (excel 2013, two different machines), it crashes upon opening. If I open it as a macro-disabled workbook, then there are no problems.
    When I first put in the macros (the workbook was already open), there were no stability issues.

    Any ideas what could be the problem?

    Thanks,

    Phillip

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Excel crashes when macros are enabled

    Delete the macros, save and try reopening with macro's enabled... Then you'll know if it's YOUR macro's or something else

    Also - have a look in the workbook module, there may be code in there.
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    12-24-2012
    Location
    milan
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Excel crashes when macros are enabled

    Hi Andy,

    I've tried that, it's definitely my macros. The workbook module is empty.

    Phillip

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Excel crashes when macros are enabled

    Phil

    It looks like you have a lot of sheets.That may be a factor
    You could also try remming out your macro's one by one - see if you can pin it down to one specific.

  5. #5
    Registered User
    Join Date
    10-04-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Excel crashes when macros are enabled

    I think you are experiencing the VBE error. If you check in Event Viewer you will know for sure. But check this out: http://blogs.technet.com/b/the_micro...ing-macro.aspx

    The workaround saved me in a few instances.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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