Share via

Signature methods for Excel Functions

Yamen Jeribi 41 Reputation points
2021-07-19T14:39:29.433+00:00

Hi All,

I use this dll "Microsoft.Office.Interop.Excel" in order to evaluate my excel functions.

Is there any solution/method allows me to know for each excel function developed in the DLL, their parameters, return type etc...

To be more specific, before calling the evaluate function exposed by the the DLL,
I want to verify for each formula used in my application if the passed parameters type are the correct ones ( In order to avoid any errors written in my formulas).

I read the documentation and didn't found any lead!

thanks,

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 91,741 Reputation points
    2021-07-19T18:06:51.17+00:00

    Not sure if I have understood, but the doc for the "Excel Object Model Reference" is at Microsoft.Office.Interop.Excel Namespace

    For example, Application().Workbooks.Open() is Workbooks.Open

    0 comments No comments

  2. Karen Payne MVP 35,601 Reputation points Volunteer Moderator
    2021-07-19T17:38:13.297+00:00

    There is no definitive documentation other than the documentation for writing code inside of Excel itself that in many cases does not properly translate to C#.

    Also, I just checked, if you add Microsoft.Office.Interop.Excel to the Visual Studio object browser you can see all classes but not all properties and methods and even when they are exposed lack in any form of documentation.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.