I am populating Excel templates using Aspose.Cells and the buttons (and other control objects) on the sheet get duplicated when the file is saved with the xlsb format. It does not seem to happen when using xlsm files. This does not usually cause a problem, but randomly, the duplicate objects will not be on top of each other and this causes the click to not work. The attached files show how a xlsb file that is opened and then saved with a new name creates duplicate objects. Clicking “Button 1” on Sheet1 will show the additional objects created after the java is run. Any help in preventing this duplication is appreciated. I would prefer not to have to change to using xlsm files.
xlsbObjectCorruption.zip (38.3 KB)