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:Anthony Benoist (anth@student.ecp.fr)
Date:Jan 28, 2007 9:49:21 am
List:org.openoffice.fr.prog

Jean-Francois Nifenecker a écrit :

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 ?

Bonjour,

Pour cette question, si je me trompe pas, la solution est :

Dim oDocument as object, oZone as object

oDocument = thisComponent oZone = oDocument.currentSelection

Bon courage,