Excel-DNA / Excel-DNA/ExcelDna

Support for Excel Udfs inside Nested Classes

Open
#179 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

[Reported by Garrett Womack on the ExcelDna mailing-list](https://groups.google.com/forum/#!topic/exceldna/CmzfPSGG7iU).

>
> From: Garrett Womack
> Date: Thu, Apr 19, 2018 at 9:24 PM
> Subject: [ExcelDna] Excel Udfs in Nested Classes
> To: Excel-DNA
>
>
> Hi Govert,
>
> I noticed that Udfs aren't available in excel if you have them embedded in a nested class. Just wanted to point this out.
>
> ### === Works ===
>
> ```csharp
> public static class Udfs
> {
> // Put Udfs here
> }
> ```
>
> ### === Doesn't Work ===
>
> ```csharp
> public static class Udfs
> {
> public static class FinancialUdfs
> {
> // Put Udfs here
> }
> }
> ```
>

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.