I'm afraid that alternative 1 is not possible for me.. so how do I close the file in Java? (I don't want to save it from Java, just close it so that I can save it from Excel, since changes can have been made in Excel without the Java program knowing it). /Sul
--- On Mon, 4/20/09, Nick Burch <[email protected]> wrote: From: Nick Burch <[email protected]> Subject: Re: Unable to save Excel file after having connected it to Java To: "POI Users List" <[email protected]>, [email protected] Date: Monday, April 20, 2009, 11:43 AM On Mon, 20 Apr 2009, Suladna wrote: > If I try doing so, I get an error message telling me that the document can't be saved because of a sharing error and that I should try saving it to another file. Can anything be done to prevent this error? Ah, the joys of windows and opening files. Two options: 1) use unix 2) close the file in java before trying to save it in excel Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
