title: Get list of Worksheet names using ActiveX to array in javaScript
body: <p>How can i get a list of all available Sheet names for my excel file using ActiveX Object?</p>
  
  <p>I know this code <code>Excel.ActiveWorkBook.Sheets</code> returns the sheets... But how could I get the NAMES of these sheets in an array?</p>
  
  <pre><code>function getTabs()
  {
  
      var w =new ActiveXObject("Excel.Application");                      
      var book = w.Workbooks.Open(excelFile);  
      alert(book.name); //here I get the filename of my xls file and it displays ok
      var ExcelSheet= book.Sheets;
      alert(ExcelSheet); //This alerts to 'undefined' 
  
      w.Quit();
      w=null;             
  
  }
  </code></pre>
  
  <p>This is my code right now.....</p>