I need to finish the application in C #.
Now I want to get the function that controls the Excel file to get the data.
I used getActiveObject("Excel.Application"), but it returns nothing. I can not use Excel.Applicationin VS2008, and is used instead Microsoft.Office.Interop.Excel.Application.
So is there any other way to do this?
Microsoft.Office.Interop.Excel.Application e = (Microsoft.Office.Interop.Excel.Application)Marshal.GetActiveObject("Excel.Application");
user164110
source
share