Thread t = new Thread(delegate() { Excel.Application _excelApp = new Microsoft.Office.Interop.Excel.Application(); Marshal.GetActiveObject("Excel.Application"); _excelApp.GetType().InvokeMember("Run", System.Reflection.BindingFlags.Default | System.Reflection.BindingFlags.InvokeMethod, null, _excelApp, new object[] { "SetFont" }); }); t.IsBackground = true; t.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)