How to check whether installed Excel is Licensed or not? RRS feed

  • Question

  • I am Creating an application which is responsible to read or right Excel file. Below code give me whether Excel is installed or not. Is there any Provision to check the installed excel is Registered/Licensed? 
    Type officeType = Type.GetTypeFromProgID("Excel.Application");
    if (officeType == null)
         //no Excel installed
         //Excel installed

    Tuesday, December 10, 2019 11:08 AM

All replies