I want to check whether a particular Excel file is already opened. Otherwise when I reopen same file in my C# program it is opening in read only format. Is there any way to find out if the file is already open?
I want to check whether a particular Excel file is already opened. Otherwise when
Share
If the file if opened by another program this code can help you figure it out, but you won’t be able to open it
(BUt you can’t do anything with it, the file must be closed from the program, which opened it)