Hi
You have missed to mention NEW
It has to be like this
Dim excelApp As New Microsoft.Office.Interop.Excel.
Cheers @shubham_vishwakarma
Keep in mind that your project is set to Windows.
Which packages related to your Interop Usage have you referenced so far?
I don’t think that’s the issue as you can see I’m getting Outlook and word namespace. By using Dim Excelapp as new Microsoft.office.interop.excel is only gonna early bind my variable.
I have imported Microsoft.office.interop.Excel.
for our question:
we were asking for the references modelled by:
Maybe you can tell us these details, along with your Studio Version. So we can try to to do some replications at our end.
Feel free to tell us more about your case and what is to achieve.