Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ribbon Sample: Excel crashes after closing

Open
#8 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
desktop

Research direction

Start by building the Ribbon Sample add-in and reproducing the crash with Ribbon-AddIn64-packed.xll in Excel 2016 x64. Compare the close behavior after clicking "My Button" with closing Excel without clicking it; done means Excel closes without crashing in the reported scenario.

Written by the indexing model from the issue text.

Description

  1. Build the Ribbon Sample addin (Debug or Release)
  2. Open Ribbon-AddIn64-packed.xll with Excel 2016 x64
  3. Click the "My Button" button
  4. Close Excel:

image

Tried on Excel 2016 x64 Version 1803 (Build 9126.2152 Click-to-Run).
Tried to update ExcelDna NuGet packages to v0.34.6.

If I don't click My Button and just close Excel right away - it doesn't crash.

Dominant language
C#
Stars
135
Forks
83
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Excel-DNA/Samples

All issues in Excel-DNA/Samples

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.