+ Reply to Thread
Results 1 to 16 of 16

Excel Crashing Only When Opening Chart Worksheets

  1. #1
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Excel Crashing Only When Opening Chart Worksheets

    I have a workbook that has been crashing lately. Here is what I have been able to diagnose so far:

    1) Only crashes when on one of two worksheets. These worksheets contain about 5 charts each.
    2) Still crashes in Safe Mode
    3) Only one COM add-in (MapPoint) enabled. Disabling this has no effect on the crashes.
    4) Repaired Microsoft Office 2016. No effect on crashes.
    5) Deleting all of the data in cells B5:CS27 of the 'Data' worksheet makes the chart sheets not crash anymore.
    6) Deleting only the #N/A cells has no effect on crashes.

    I have attached a much simplified (and desensitized) workbook that shows the crashing issue. The crashing happens a couple of seconds after selecting either one of the chart worksheets.

    Any help to get rid of this crashing issue would be much appreciated.

    Edit: I tested the deletion of data (#5 above) again and it only delayed the crash. Still crashes after deleting the data in B5:CS27.
    Attached Files Attached Files
    Last edited by 63falcondude; 05-08-2018 at 12:01 PM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Excel Crashing Only When Opening Chart Worksheets

    Good afternoon 63falcondude

    Do you have access to other PCs with Office installed?
    The attached file opens fine on my system - I can see the charts select, move or resize them without any issue.

    On this setup, I am using Office 16, Windows 10, 32 bit.
    Have you considered attempting to run a repair on your installation? I can see nothing within this file that should cause this issue. It's a fairly small file, consisting of a simple table and two pages of charts.

    Sorry I can't be of any more help

    DominicB

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Excel Crashing Only When Opening Chart Worksheets

    Quote Originally Posted by dominicb View Post
    The attached file opens fine on my system - I can see the charts select, move or resize them without any issue.
    Maybe it is my computer then. I will send it to a co-worker and see if they experience the crashing too.

    Have you considered attempting to run a repair on your installation?
    Yes. I repaired Microsoft Office (#4 above).

    It's a fairly small file, consisting of a simple table and two pages of charts.
    The actual workbook is 2.43 MB. I cut it down to show only the part that crashes (for me). I had to remove a lot of sensitive information.

    Sorry I can't be of any more help
    No that does help. As mentioned above, I will see if other computers in my company experience the same thing.

    I will update this thread with anything new that I find out. Thank you.

    Edit: Sent to a co-worker and she experienced the same crashing after some time with the charts on screen.
    Last edited by 63falcondude; 05-08-2018 at 12:48 PM.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    Hmm, hard to pinpoint cause. But looks like chart objects are the offending culprit.

    If I delete all charts using...
    Please Login or Register  to view this content.
    It becomes stable.
    Or even with charts still on sheet, as long as charts are outside of display area. It does not crash.
    Tested with hardware acceleration turned off, but this had no effect, as long as charts were displayed on screen.

    Try recreating charts, after you remove them with above code. And see if it replicates the issue.

    I'd recommend restructuring your data. Your series formulas are very disjointed and may be cause of the issue.
    Ex: Data Chart 4, XT series
    Please Login or Register  to view this content.
    See attached for full export of series formula using below code.

    Please Login or Register  to view this content.
    EDIT: I'm using Office 365, 64 bit install on Windows 7 machine.
    Attached Files Attached Files
    Last edited by CK76; 05-08-2018 at 12:24 PM.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Excel Crashing Only When Opening Chart Worksheets

    Quote Originally Posted by CK76 View Post
    looks like chart objects are the offending culprit.
    I agree. It crashed for you too when the charts are displayed on screen?

    I'd recommend restructuring your data.
    I would normally say the same thing. The issue is that I am getting the data from a system that I have no control over.
    I copy and paste the data from the system into Excel and then everything is taken care of automatically.

    I suppose that I could create an area that pulls that unstructured data into a structured form and use the structured data for the charts.
    If that worked, I guess that would mean that the structuring of the data was the culprit.

    I am using Office 2016, 32 bit, windows 7.

    I'll try some restructuring and see if it still crashes. Thanks.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Excel Crashing Only When Opening Chart Worksheets

    I saved a copy of the workbook to test on.
    On a new sheet of that copy workbook, I separated the data into four sections so that the SERIES formulas are not disjointed like in the original.
    I created one chart using the first section and then Excel crashed.

    I'm at a loss.

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    Hmm, by chance was your Office installation an update from previous version?
    And what's the version# of update that's applied?

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Excel Crashing Only When Opening Chart Worksheets

    Upon further testing, it seems that the workbook doesn't crash if I have all of the Horizontal (Category) Axis Labels checked.

    I uncheck all months outside of the previous 13 (e.g. right now, only Apr-17 through Apr-18 are checked).

    Once I do this and leave the chart on the screen for a little bit, Excel crashes.

    Quote Originally Posted by CK76 View Post
    Hmm, by chance was your Office installation an update from previous version?
    And what's the version# of update that's applied?
    It was. We (my office) had 2010 up until about a year ago when it was switched to 2016.
    Version #: 16.0.4639.1000 32-bit
    Last edited by 63falcondude; 05-08-2018 at 02:27 PM.

  9. #9
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    Did further testing and it will crash on my laptop (Office 365 ProPlus) Version 1708 (Build 8431.2242) - Semi annual channel.
    But not on the desktop (Office 365 business) Version 1804 (Build 9226.2114) - Monthly channel.

    This leads me to believe it's either registry issue, or update messing something up.

    For test I reverted back to Version 1705 (Build 8201.2258) and I no longer experience crash on my laptop.

    Try either applying latest update, or rolling back update.

    See below for article on rolling back.
    https://support.microsoft.com/en-us/...fice-2016-clic

    Though it's bit misleading. updatetoversion string is based on 16.0. & build#. So... updatetoversion=16.0.8201.2258 to roll back to version 1705.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel Crashing Only When Opening Chart Worksheets

    Link doesn't work

  11. #11
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    Clicking it works for me? Does it work if you right click, copy link address and paste into URL bar?

    You can google 'office 365 revert to previous version' and it should be one of the first search result.

  12. #12
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Excel Crashing Only When Opening Chart Worksheets

    Update: On my actual workbook, I clicked on the worksheet with the charts and quickly scrolled down to put the chart mostly out of view before it crashed.

    I went far enough down so that I could only see the bottom of the chart. I then checked all of the Horizontal Axis Labels. Then, when I scroll up to see the chart, Excel doesn't crash.

    Quote Originally Posted by CK76 View Post
    Try either applying latest update, or rolling back update.
    Link worked for me. I read that article and I'm not sure that I have the ability/access to do that on my work computer. I could try but that also goes into unknown territory for me and I would rather not go down the rabbit hole.

    For now, I got it to the point of not crashing even though I would rather not have all of the axis labels checked (which shows more months than I want).

    It's odd because I do the same thing on other workbooks without issue.

    For now, I'll leave this thread unsolved but you deserve a rep for going through all of that for me. Thank you.

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel Crashing Only When Opening Chart Worksheets

    @ck76

    urleffect.jpg

    link from Google to MS shows exactly the same
    Last edited by sandy666; 05-08-2018 at 03:23 PM.

  14. #14
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    No problem and thanks for the rep
    Glad you got at least a workaround.

  15. #15
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Excel Crashing Only When Opening Chart Worksheets

    @sandy666

    Hmm, beats me. You should be able to find the article by googling at least.

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel Crashing Only When Opening Chart Worksheets

    Yeah, I found it on CNET but not on MS

    maybe MS doesn't like firefox but usually FF works with MS

+ 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 Crashing/High CPU when opening 1 Excel sheet in workbook
    By aLi3nZ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2017, 12:57 AM
  2. Replies: 2
    Last Post: 09-28-2017, 12:27 PM
  3. Excel crashing when trying to view code before macro run; not crashing after first run
    By goonerforlyf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2015, 05:27 PM
  4. Excel 2013 Crashing on opening a XLSM file
    By Wongadob in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2014, 05:10 AM
  5. [SOLVED] Excel 2010 crashing on opening a XLSM
    By SonOfOdin in forum Excel General
    Replies: 4
    Last Post: 04-18-2013, 08:05 AM
  6. [SOLVED] Problem with Excel crashing when opening an user form
    By James in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2006, 05:40 PM
  7. Dynamic Chart Crashing Excel - help plz!
    By John in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-16-2006, 10:25 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