Hi,
I’ve tried to open an excel file using code that worked in previous versions of Rhino and it no longer works. I’m not sure if there is something about the block of code that needs to be updated or the fact that I have Excel 365 on my machine.
I get the following error:
Message: Could not add reference to assembly Microsoft.Office.Interop.Excel
Traceback:
line 2, in , “C:\Users\ebunn\AppData\Local\Temp\TempScript.py”
Looking for any advise on trouble shooting this.
import clr
clr.AddReference("Microsoft.Office.Interop.Excel")
import Microsoft.Office.Interop.Excel as Excel
excel = Excel.ApplicationClass()
excel.Visible = True
Thanks,
Eric