9 messages in org.openoffice.fr.progRe: [prog] Appliquer une macro à la s...
FromSent OnAttachments
Jean-Francois NifeneckerJan 28, 2007 8:32 am 
Francois GattoJan 28, 2007 8:55 am 
Jean-Francois NifeneckerJan 28, 2007 9:09 am 
Anthony BenoistJan 28, 2007 9:49 am 
Jean-Francois NifeneckerJan 28, 2007 9:57 am 
christianwtdJan 28, 2007 11:55 am 
Manuel NAUDINJan 28, 2007 10:41 pm 
Francois GattoJan 28, 2007 10:44 pm 
Jean-Francois NifeneckerFeb 8, 2007 6:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Appliquer une macro à la sélectionActions...
From:Jean-Francois Nifenecker (jean@laposte.net)
Date:Jan 28, 2007 9:09:37 am
List:org.openoffice.fr.prog

Francois Gatto a écrit :

Bonsoir JF,

Je pense qu'avec ceci tu devrais obtenir satisfaction .. not like the The Rolling Stones ;)

Sub ChangeCellRangeBackground Dim oSheet oSheet = ThisComponent.getSheets().getByName( "Feuille1" ) oSheet.getCellRangeByName("A10:IV20").CellBackColor = rgb(127,100,127) End Sub

Merci François !

Mmmm... Je m'as mal esprimé.

Je voudrais appliquer la macro que j'avais réalisée à une sélection quelconque (que l'utilisateur ferait). En d'autres termes, comment obtient-on la sélection courante ?

A+