This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The program bellow creates a copy of an excel file. I am using the HSSFWorkbook object because i need to change information on the new file. The problem is that an object that was created in the original file lost its focus on the copied file. For example, I add a power point object in the original file, and in the copied file i can see the object, but clicking on it reveals the error message "cannot start the source application for this object"