question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Formula list freezing on latest update of Excel 2016

See original GitHub issue

In the last few weeks, I have noticed that the Excel is now hanging for ~15secs if I have an addin loaded with intellisense added. In general, it occurs on the 2nd or 3rd character - in this example i was trying to type “NORM.DIST” and it hung when I typed “R”. I am on Excel 7571.2058-64bit

I ran the code through visual studio to see if I could work out what is going wrong… and I think its occuring at this point: “PopupListWatcher.cs”

listBounds = (Rect)_popupList.GetCurrentPropertyValue(AutomationElement.BoundingRectangleProperty); Debug.Print($"#### PopupList Update - ListBounds: {listBounds} / SelectedItemBounds:{selectedItemBounds}");

And the output log: @>@>@>@> LoadNotification: Loaded - C:\Program Files\Microsoft Office\root\Office16\MSOHEV.DLL STATE UPDATE (FormulaEditStart): Ready => FormulaEdit FormulaEditWindow: 658722 FormulaPrefix: = EditWindowBounds: 485,193,2075,66 ExcelToolTipWindow: 0 Created ToolTipForm with owner 658722 IntelliSenseDisplay - FormulaEditStart - FormulaEditWindow: 658722, ArgumentsToolTip: ExcelDna.IntelliSense.ToolTipForm, Text: ^^^ FormulaEditStateChanged. CurrentPrefix: =, Thread 1 Not processing formula =n POPUPLISTWATCHER WINDOW CURRENT SELECTION System.Windows.Automation.AutomationElement

PopupList Update - ListBounds: 504,262,159,206 / SelectedItemBounds: 505,263,140,17

STATE UPDATE (FormulaEditExcelToolTipChange): FormulaEdit FormulaEditWindow: 658722 FormulaPrefix: =n EditWindowBounds: 485,193,2075,66 ExcelToolTipWindow: 0 => FormulaEdit FormulaEditWindow: 658722 FormulaPrefix: =n EditWindowBounds: 485,193,2075,66 ExcelToolTipWindow: 21105186 STATE UPDATE (FunctionListShow): FormulaEdit FormulaEditWindow: 658722 FormulaPrefix: =n EditWindowBounds: 485,193,2075,66 ExcelToolTipWindow: 21105186 => FunctionList FunctionListWindow: 1444754 FunctionListBounds: 504,262,159,206 SelectedItemText: N SelectedItemBounds: 505,263,140,17 FormulaEditWindow: 658722 FormulaPrefix: =n EditWindowBounds: 485,193,2075,66 ExcelToolTipWindow: 21105186 IntelliSenseDisplay - FunctionListShow Created ToolTipForm with owner 1444754 Not processing formula =no POPUPLISTWATCHER WINDOW CURRENT SELECTION System.Windows.Automation.AutomationElement

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:42 (19 by maintainers)

github_iconTop GitHub Comments

7reactions
govertcommented, May 19, 2017

I’ve made another new release, hopefully giving a proper fix to the Excel 2016 issues. The new release is available on GitHub here: https://github.com/Excel-DNA/IntelliSense/releases/tag/v1.0.2 and (@junos) as an updated NuGet package (ExcelDna.IntelliSense version 1.0.2).

The internals have changed significantly, since I’ve removed the UI Automation dependency. Please let me know whether this fixes the Excel 2016 delays, and whether I’ve introduced any regressions.

3reactions
govertcommented, Jan 17, 2017

@opus131 That first one looks similar to what I expect, and has the delay in. I’ll try to make a version to try a workaround in the next few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel not responding, hangs, freezes or stops working
Excel not responding, hangs, freezes or stops working · Investigate possible issues with files in Startup folders · Install the latest updates ·...
Read more >
Fix Excel Freezing or Slow
Right-click the “Start” button, then select “Control Panel“. · Select “Programs“. · Select “Uninstall a program“. · Locate “Microsoft Office” in ...
Read more >
[Solved] : How to Fix MS Excel Crash Issue
This free guide discusses common Excel crash issues. Troubleshoot errors like Excel is not responding, Excel hangs or freezes when you open ...
Read more >
Excel 2016 Freezing when entering data into a ...
What appears to be happening is that every time data is entered in a cell, Excel is recalculating every single formula in the...
Read more >
How to Fix Excel Not Responding/Keeps Crashing or ...
Open the Excel file, before it freezes (or open it in safe mode), in the home screen, go to “Conditional Formatting” -> “Clear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found