ganapati_bhat
11 years agoOccasional Contributor
Excel data read not happening
Hi,
I need the help to read the data from excel sheet using javascript.
I am able to read the data from the 1st sheet. But not able to read from any other sheet. Please share me the code to select the sheet and retriving the data from it.
I have written the code like :
var Excel = Sys.OleObject("Excel.Application");
var work=Excel.Workbooks.Open(Filepath);
work.Sheets("PersonalInformationData"); // failing in this step.
Please help
I need the help to read the data from excel sheet using javascript.
I am able to read the data from the 1st sheet. But not able to read from any other sheet. Please share me the code to select the sheet and retriving the data from it.
I have written the code like :
var Excel = Sys.OleObject("Excel.Application");
var work=Excel.Workbooks.Open(Filepath);
work.Sheets("PersonalInformationData"); // failing in this step.
Please help