I want to read already open excel file with C#. I am using this method but it can\'t read the excel file while the file is open in Microsoft excel.
FileStre
To ensure that correct opening and closing of the file please look at using the c# using statements
using (FileStream stream = File.Open("myfile.xlsx", FileMode.Open, FileAccess.Read)) { }