You need to add the nuget package:
https://www.nuget.org/packages/Microsoft.Office.Interop.Word
this let your code compile. To run you will desktop version of word installed.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to establish references to Word and Excel, and getting compile errors for the following:
Imports word = Microsoft.Office.Interop.Word, an
imports Excel = Microsoft.Office.Interop.Excel
Please respond
Ronald Chandler
hobbitdome@gmail.com
You need to add the nuget package:
https://www.nuget.org/packages/Microsoft.Office.Interop.Word
this let your code compile. To run you will desktop version of word installed.