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,

C#
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.
10,933 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,915 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,715 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,421 Reputation points
    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

  2. Castorix31 85,211 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

Your answer

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