office interop - C# Run macro without opening Excel -
is there way run macro using office interop without launching excel application?
if set excel application false still show excel
my code:
private void button1_click(object sender, eventargs e) { excel.application oexcel = new excel.application(); oexcel.visible = false; oexcel.run("'c:\\personal.xlsb'!module1"); }
no. need have ms office, particularly excel installed in case want run excel macros. server side automation of ms office not recommended. please see link.
Comments
Post a Comment