var excel = new ActiveXObject("Excel.Application"); var ws = excel.Workbooks.Open(file_name).Worksheets;