Hi bernard
newStyle.ParentStyle = oldStyle.Name oStyles.insertByName("myNewStyle", newStyle)
does it work with different spreadsheets ? i'm not sure, i'll test when time but really not sure actually, i loop on all properties. that is the quickest way i explored Laurent --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org