How to read open excel file at C#

前端 未结 6 2124
北海茫月
北海茫月 2020-12-17 16:47

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         


        
6条回答
  •  清歌不尽
    2020-12-17 17:31

    I think you can still copy the file while excel has it open, so you could make a copy of the file and then open that. Just make sure you clean up after yourself when you are done with the copy.

提交回复
热议问题