title: Reading Embedded Object in Excel File
body: <p>I have an excel file contains <code>Attachment column</code>, which has another excel object embedded into it.</p>
  
  <p>I need to read that embedded excel file and process its data.</p>
  
  <p>So far i used <a href="http://exceldatareader.codeplex.com/" rel="nofollow noreferrer">Excel Reader</a> to read the normal excel file and retrieve as DataSet. </p>
  
  <pre><code>FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read);
  
  //Reading from a binary Excel file ('97-2003 format; *.xls)
  IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);
  
  // Reading from a OpenXml Excel file (2007 format; *.xlsx)
  IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);
  
  DataSet result = excelReader.AsDataSet();
  
  excelReader.IsFirstRowAsColumnNames = true;
  DataSet result = excelReader.AsDataSet();
  
  
  while (excelReader.Read())
  {
      //excelReader.GetInt32(0);
  }
  
  excelReader.Close();
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/4C70O.png" alt="enter image description here"></p>
  
  <p><code>Now i want to read the embedded object(excel file)</code></p>
  
  <p><strong>Is there any dll/component/code which will help us to read embedded object inside excel file?</strong></p>
  
  <p><strong><em>Note:</em></strong> I dont have a Microsoft Office Package installed in server. So i dont want to use Microsoft.Interoperability package</p>