Extremely simple formula crashes my program after I insert a line beneath the referenced cell

核能气质少年 提交于 2019-12-01 09:27:48

问题


I originally had code, but now I deleted all code in that project. I have a formula in sheet1 that goes "='Sheet2'!I10". Cool, I save its ok. But the moment that I insert a line beneath I10 on sheet2 and then I go back to Sheet1 click into the formula and do nothing but press the check mark the entire program crashses. With an APPCRASH report...... WHY

        My Error Report: 
        Problem Event Name:   APPCRASH
        Application Name: Excel.EXE
        Application Version:  14.0.7179.5000
        Application Timestamp:    58a5e2fb
        Fault Module Name:    EXCEL.EXE
        Fault Module Version: 14.0.7179.5000
        Fault Module Timestamp:   58a5e2fb
        Exception Code:   c0000005
        Exception Offset: 00261b14
        OS Version:   6.1.7601.2.1.0.256.48
        Locale ID:    1033

回答1:


Not enough rep to comment... Also don't have a solution.

NOTE: Excel 2010 appears to be the only one affected. (Both x86 and x64). 2013 and 2016 seem to be okay.

Broken by: KB3178688

Yes, I'm having the exact same issue at the exact same offset (for 32 bit at least).

For us this also appears to have started recently after running the most recent security patches.

Sorry to spam this, but it's trivial to recreate it. The cell with the formula must reside on another sheet though.

  1. Put a number in Sheet1 Cell A1
  2. Go to sheet 2 and set a cell formula which is =Sheet1!A1
  3. Go to Sheet 1 and add a row below Cell A1
  4. Go to Sheet 2 and attempt to delete or modify the cell with a formula
  5. Excel crashes



回答2:


So thanks to nqramjets for assisting me on this question I have found that the main problem that caused this was a security patch from windows which is KB3178690. After uninstalling this, go to control panel->Uninstall a program -> on the left find & click view installed updates -> and find the above mentioned update number under Microsoft Office, and uninstall.

Furthermore there is a new update from Windows that is meant to fix this crazy bug, -> KB3191855, install this.

This information can be seen on the Microsoft community page, link below.

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-msoffice_custom/inserting-a-new-line-beneath-a-referenced-cell/d4c50c1e-6141-4f6f-b847-6586fe5d23a8.

Thanks again for everyone's help! - Googlesoar



来源:https://stackoverflow.com/questions/42840134/extremely-simple-formula-crashes-my-program-after-i-insert-a-line-beneath-the-re

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!