How to close a excel if it is opening when accessing using JAVA and APACHE-POI 3.6?` -
We are developing applications in Java and are using APE PoI 3.6 to access MS Excel files. Let's assume that my Excel file is open when I run my program, this error and the program ends. So, first I have to check whether my Excel has been opened or not. If it is opening, then I want to close my Excel file and open that file ... itemprop = "text"> POI does not run Excel anymore It is an independent code that opens your Excel file and interprets the content. There is no direct route to Java code to communicate with Excel and to see if it's running. To try to coordinate, you can see the Java / Com Bridge for complex mechanisms.