+ Reply to Thread
Results 1 to 2 of 2

Excel crashes when running a "delete" macro

  1. #1
    Registered User
    Join Date
    06-05-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    2

    Excel crashes when running a "delete" macro

    Hi everyone.

    I am experiencing a quite strange problem with excel and I'll try to be as clear as possible.

    I have some charts in one sheets that are made of clustered series and scatter ones (it's a normal bar-graph with a target line).

    I have also a function that reset all the graphs:

    Please Login or Register  to view this content.
    Now, if in my graph I have just bars, the macro works perfectly. When I add to my graphs the target line (that I remember is a xlXYScatterLinesNoMarkers), excel crashes. I have tried in more than one pc so it is not a pc problem.

    I have also tried to add a further check to that function

    Please Login or Register  to view this content.
    just to avoid scatter data, but it crashes anyway...

  2. #2
    Registered User
    Join Date
    06-05-2015
    Location
    london
    MS-Off Ver
    2013
    Posts
    2

    Re: Excel crashes when running a "delete" macro

    I forgot to mention that if I run the macro step-by-step it works perfectly!

+ 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] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. [SOLVED] Enabling "Undo" after running a macro - Excel 2010/2013
    By Rizzu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2014, 01:57 PM
  3. [SOLVED] Excel Crashes or Gives "Automation Error" on Mac when running Macro
    By mlj61289 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2013, 04:39 PM
  4. "Form and macro" to delete "Active" cell contents.
    By wanty in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2013, 11:33 PM
  5. Replies: 6
    Last Post: 08-09-2006, 08:19 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