Notifications
Clear all
[Closed] I get Runtime error when I want to create excell.application object
Sep 24, 2011 7:09 pm
Hi
I’m trying to instantiate .net class Microsoft.Office.Interop.Excel.Application using these commands in maxscript:
dotnet.loadAssembly @"Microsoft.Office.Interop.Excel.dll"
excelApp = dotNetObject "Microsoft.Office.Interop.Excel.Application";
But I get this error:
– Runtime error: No constructor found which matched argument list: Microsoft.Office.Interop.Excel.Application
I can use interop excel object by c# and I am sure that the constructor is correct. But I don’t know what’s the matter with maxscript!!