5 messages in org.openoffice.fr.progRe: [prog] Nom d onglet dans cellule
FromSent OnAttachments
florentFeb 18, 2006 2:23 am 
Bernard MarcellyFeb 18, 2006 10:28 am 
julien cochennecFeb 18, 2006 8:20 pm 
florentFeb 19, 2006 1:52 am 
Francois GattoFeb 20, 2006 10:21 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] Nom d onglet dans celluleActions...
From:Francois Gatto (oo@volcar.org)
Date:Feb 20, 2006 10:21:13 am
List:org.openoffice.fr.prog

Bonsoir Florent,

Voici peut-être une manière de répondre à ton besoin.

Function SheetNameInCell()

dim oDoc as object dim sCell as string dim sCol as string dim sLig as string

oDoc = ThisComponent With oDoc sCell = .CurrentController.ActiveSheet.Name sCol = .CurrentSelection.getCellAddress.Column sLig = .CurrentSelection.getCellAddress.Row End With

'pour appel de la function automatiquement 'oDoc.CurrentSelection.String = sCell

'Pour appel de la fonction dans une cellule SheetNameInCell() = sCell

End Function

florent a écrit :

merci pour la formule Simplement un probleme , elle ne s actualise pas quand on change le nom de la feuille

-----Message d'origine----- De : Bernard Marcelly [mailto:marc@club-internet.fr] Envoyé : samedi 18 février 2006 19:29 À : pr@fr.openoffice.org Objet : Re: [prog] Nom d onglet dans cellule

Bonjour florent Message du 2006-02-18 11:23:

Bonjour, Quelqu'un aurait il une idée pour créé une macro dans CALC qui renvoie dans une cellule le nom d'un onglet (d'une feuille)

pas besoin de macro. Voir les réponses faites sur users http://www.mail-archive.com/users@fr.openo@