Results 1 to 4 of 4

Thread: Code execution has been interrupted in Excel

  1. #1
    Join Date
    May 2009
    Posts
    45

    Code execution has been interrupted in Excel

    Hello friends,

    I am facing some issue with Excel file, whenever i try to open excel file which contain macros, over there i am getting an error message as code execution has been interrupted. If i try to open it in Excel 2003 then it's open properly without any issue, i am facing this issue only with Excel 2007. Does anyone have any suggestions?

  2. #2
    Join Date
    Dec 2008
    Posts
    135

    Error message: Code execution has been interrupted

    One of my friend was also getting Code execution has been interrupted, after finding a lot we came to know that macro security is set too high because of which he was getting error message, it might happen that you are also having same thing, for that you need to set macro security to Medium will prompt you enable or disable macros.

  3. #3
    Join Date
    May 2009
    Posts
    45

    Code execution has been interrupted in Excel

    Thanks for replying me Capers, i have tried to change security level for macro but still i am getting the Code execution has been interrupted error message, does anyone know any other solution apart from changing security level.

  4. #4
    Join Date
    Dec 2008
    Posts
    144

    Code execution has been interrupted in Excel

    I know that many people get Code execution has been interrupted when they are trying to open macros files in Excel 2007, in that case i would suggest you to disable cancel key will not work because the thing breaks before it even runs the function and you have to restart your computer. After doing this if you are still facing any issue then try to use the following code

    Code:
    Application.EnableCancelKey = xlDisabled

Similar Threads

  1. What does Remote Code Execution means
    By THE=protector in forum Networking & Security
    Replies: 9
    Last Post: 30-08-2012, 06:44 PM
  2. Replies: 4
    Last Post: 25-12-2010, 02:34 AM
  3. Code execution in real-time environments
    By Gajendra1 in forum Technology & Internet
    Replies: 1
    Last Post: 24-09-2010, 04:13 PM
  4. Execution of a Macro in Access to import Excel
    By Brunoz in forum Windows Software
    Replies: 5
    Last Post: 24-12-2009, 11:21 AM
  5. Code execution in JAVA
    By jasonR in forum Software Development
    Replies: 1
    Last Post: 27-01-2009, 01:13 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
  •  
Page generated in 1,714,286,145.21414 seconds with 17 queries