Skip to content

masariello/Registration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excel-DNA Registration Helper

This library implements helper functions to assist and modify the Excel-DNA function registration, by applying various transformations before the functions are registered.

The following transformations have been implemented:

Generation of wrapper functions for:

  • Functions returning Task or IObservable as asynchronous or RTD-based functions (including F# Async functions)
  • Optional parameters (with default values), 'params' parameters and Nullable parameters
  • Range parameters in Visual Basic functions

Examples of general function transformations:

  • Logging / Caching / Timing handlers
  • Suppress in Function Arguments dialog

If you've previously used the CustomRegistration library, note that I've renamed and rearranged the project source, and renamed the output assembly from ExcelDna.CustomRegistration to ExcelDna.Registration. The last state of the project before the large-scale rearrangement is marked by the git tag CustomRegistration_Before_Rename, and can be retrieved from the release tab on GitHub.

Registration [Error] Repeated function name...

If you receive this error when opening your Excel addin, you need to add ExplicitRegistration='true' to the <ExternalLibrary Path='MyAddin.dll'... command in your .dna file.

About

Registration helpers for Excel-DNA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 87.4%
  • Visual Basic .NET 8.4%
  • F# 4.2%