title: Export to Excel
body: <p>I am using SpreadsheetClass to write some data to a excel sheet through c# code. </p>
  
  <p>It was working fine. Now it has started giving an error in this line.</p>
  
  <p>SpreadsheetClass xlsheet = new SpreadsheetClass(); </p>
  
  <p>Eroor is 
  Retrieving the COM class factory for component with CLSID {0002E510-0000-0000-C000-000000000046} failed due to the following error: 80040154.</p>
  
  <p>Please help.</p>