Bonjour Jean-Claude
Si je passe oCell en param�tre � ma proc�dure Toto, comment puis-je y r�cup�rer un objet oSheet qui pointe sur la feuille parente de la r�f�rence pass�e en param�tre � ma proc�dure (ici ThisComponent.Sheets(0) ) ...
essaye ceci
Sub Toto(oCell As Object) Dim oSheet As Object 'Feuille parent de la cellule recue en param�tre print oCell.SpreadSheet.Name End Sub
oCell.SpreadSheet contient bien l'objet feuille contenant ta cellule
Laurent
-- Laurent Godard <[EMAIL PROTECTED]> - Ing�nierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation OpenOffice.org", Eyrolles 2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
