Solved
Forum Discussion
SebastianP
6 years agoNew Contributor
Try this out,
filePath="C:\Users\sebastian\Desktop\Sample.xlsx";
SheetName="Sheet2";
Excelbook= Excel.Workbooks.Open(filePath);
var xlsheet = Excel.ActiveWorkBook.WorkSheets.Item(SheetName);
I am using the aove and its working
sonya_m
Alumni
6 years agoThank you everyone for help!
Hi anumolu9999 , did you find a solution? Did you have a chance to try what SebastianP is suggesting?