From VisualWorks® NonCommercial, 7.5 of lundi 16 avril 2007 on samedi 12 juillet 2008 at 9:15:10 CormasNS.Kernel.CormasToExcel run createSheets: number "this method version overwrites the previous one and corrects a connection error that is due to Excel2007 default settings. Contrary to previous Excel versions, Excel 2007 only has one spreadsheet when a new document is created (older versions had 3 spreadsheets available by default. As CormasToExcel Connection needs to initialize default spreadsheets created by Excel, an error was occuring when Cormas was trying to initialize the spreadsheets 2 and 3, which were not existing. This new method version, initialize only one spreadsheet. The additional spreadsheets, if necessary, are created by CormasToExcel connection itself and then initialized, in the same way the older method version was doing" self sheets: OrderedCollection new. 1 to: number do: [:index | index <= 1 ifTrue: [self setWorksheet:2 - index] ifFalse: [self addWorksheet. self setWorksheet: 1]]