Hi @Alexandre Dantas , Welcome to Microsoft Q&A,
In general, if you want to use Microsoft.Office.Interop.Excel, you need to add operations through Com.
Create a .Net Framework project, add the following to the Reference:
Just find the excel dll in the com list.
For more information on the use of this dll, please refer to the official documentation: How to access Office interop objects
Best Regards, Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 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.