TypeScript
Assembly SampleAssembly = Assembly.Load
("Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c");
if (SampleAssembly != null)
{
Type type = SampleAssembly.GetType("Microsoft.Office.Interop.Excel.ApplicationClass");
Object AppClass = Activator.CreateInstance(type);
//How will I get ApplicationClass object and Workbooks objects here?
}
Answers
Know the answer? Post it. Somebody with the same question will find it here.