Bonsoir Alex,

Selon Alex Thurgood <[EMAIL PROTECTED]>:

> Le lundi 17 octobre 2005 à 16:42 +0200, pac a écrit :
>
> En espérant que ce n'est pas simplement la faute de frappe qui te fait
> défaut ;-)
> >   oCurseur.CharHieght = 1
> oCurseur.CharHeight = 1
> Alex

Malheureusement la propriété semble ne pas fonctionner pour une note.


oSheets = ThisComponent.Sheets()
oSheet = oSheets.GetByIndex(0)
oCell = oSheet.getCellRangeByName("D4")
'xray.xray oCell:exit sub
with oCell
        .CharHeight = 18
        .String = "C'est moi"
        .Annotation.AnnotationShape.CharHeight = 14
        .Annotation.AnnotationShape.String = "Encore moi"
        .Annotation.IsVisible = False
end with


La mise en forme est correcte pour la cellule avec
        .CharHeight = 18
        .String = "C'est moi"

mais la note ne veut rien entendre :(

Alors qu'à la mano c'est possible et que l'on retrouve bien la valeur de
la propriété sous Xray ;)

Une idée ?

François Gatto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Répondre à