When switching from office 2016 to microsoft 365, it became impossible to read excel of the application created in C# normally.

是常 和也 1 Reputation point
2022-09-21T22:03:08.933+00:00

The specific contents of Excel reading failure are as follows.

C# program
System.Type.GetTypeFromProgID("Excel.Application")

will result in a null error.
Excel is installed, but the wrong judgment is made.

When I searched the Internet for the same content, there was the following content, but it was not resolved.

URL
https://social.technet.microsoft.com/Forums/scriptcenter/ja-JP/2f21c8c5-f697-4bb6-b610-d8832b3e47f7/c12391excel12364354693567212373124281239412356?forum=Office2016ITProJP

Is there any way to deal with this?

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