C# Interop.Excel AddIn Error

채훈 이 1 Reputation point

Run Excel.exe

Run C# Program -> Interop.excel


My SourceCode

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

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

Why do not COM Load

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

    @채훈 이
    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