Salut Bernard, Am Donnerstag, den 10.07.2008, 07:58 +0200 schrieb Bernard Marcelly: > Hi Dietmar, > Message de Dietmar Hiller date 2008-07-09 21:23 : > > > > It works fine if I select a continous range of cells (e.g. A1:C3), but I > > select e.g. A1:A3 and C1:C3 (so 2 ranges), xFormatSupp is null. > > > If you select several zones you get a com.sun.star.sheet.SheetCellRanges > object. This is a container of com.sun.star.sheet.SheetCellRange > objects. Use getCount and getByIndex to find each cell range.
I wrapped everything in an enumeration loop, works perfect, thanks. Dietmar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
