C# Interop.Excel AddIn Error

채훈 이 1 Reputation point
2020-12-22T04:18:10.79+00:00

Run Excel.exe
50352-image.png

Run C# Program -> Interop.excel

![50303-image.png][2]

My SourceCode

Excel.Application excel = new Excel.Application();
Excel.Workbooks workbooks = null;
Excel.Workbook workbook = null;

try
{
workbooks = excel.Workbooks;
workbook = workbooks.Open(Filename: fullpath);
excel.Visible = true;
}

Why do not COM Load

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,364 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,551 Reputation points
    2020-12-22T07:28:00.913+00:00

    @채훈 이
    As threads with tag "office-excel-itpro" focus on general questions of Excel clients, but your issue seems to be related to code.

    I would suggest you post a new question on the following forums.
    Office developer community


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments