I use vb.net to launch and use Microsoft Excel. There is 1 computer, however, that will not launch excel when I run this code:
Imports XL = Microsoft.Office.Interop.E
Public Class Form1
Dim xlApp As New XL.Application
Dim wb As XL.Workbook
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
wb = xlApp.Workbooks.Add()
I have references to Microsoft.Office.Core and Microsoft.Office.Interop.E
xcel. I am using Visual Studio 2015 and the Excel on the user's machine is 2010 Professional Plus.
Please see the attached error.