>Open Visual studio
> Click on Tools
>Click on 'Nuget package manager'
>Click on 'package manager console'
>Run the below command
Install-Package Microsoft.Office.Interop.Excel
reference:- https://stackoverflow.com/questions/10477977/what-reference-do-i-need-to-use-microsoft-office-interop-excel-in-net
Also we have to add Microsoft Office 12.0 Object Library from Com in 'Add reference'
reference:- https://stackoverflow.com/questions/5932794/microsoft-office-core-reference-missing
Also we can download dll(Microsoft.Office.Interop.Excel) file from below link
https://drive.google.com/file/d/15e7KAfD8T6tXShKQZhfpdaQfh_5osU40/view?usp=share_link
No comments:
Post a Comment