C# Use Microsoft.Office.Interop.Excel Create a Application and Manually opening an excel document generates two excel processes

胡说 0 Reputation points
2023-10-25T09:46:48.77+00:00

User's image

User's image

I am using vsto to create a word addin. During the process, I want to create an excel process through Microsoft.Office.Interop.Excel. However, when I manually open an excel file, I find that two processes are generated in the background. Why is this? How can I avoid this as it prevents me from using excel formulas across files

Microsoft 365 and Office | Development | Other
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.
0 comments No comments
{count} votes

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.