Forum Discussion
SebastianP
New 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
5 years agoSmartBear Alumni (Retired)
Thank you everyone for help!
Hi anumolu9999 , did you find a solution? Did you have a chance to try what SebastianP is suggesting?
Related Content
- 2 years ago
Recent Discussions
- 3 days ago