4 messages in org.openoffice.fr.prog[prog] [Calc] SetPrintAreas ?!
FromSent OnAttachments
Fr...@idkal.comJan 23, 2006 8:21 am 
Bernard MarcellyJan 23, 2006 9:17 am 
JovialJan 23, 2006 11:28 am 
Fr...@idkal.comJan 24, 2006 3:02 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:[prog] [Calc] SetPrintAreas ?!Actions...
From:Fr...@idkal.com (Fr@idkal.com)
Date:Jan 23, 2006 8:21:56 am
List:org.openoffice.fr.prog

Bonjour à tous,

j'ai définis une zone contenant des cellules (ex : A1:C3) nommée "Zone1"

Dim maZone as Object Dim maFeuille as Object

maFeuille = ThisComponent.Sheets(0) maZone = maFeuille.getCellRangeByName("Zone1")

maFeuille.SetPrintAreas(maZone.RangeAddress)

uBound(maFeuille.PrintAreas) = -1 :( >> la zone d'impression n'a pas été définie ...

Quelqu'un pourrait m'expliquer ?

Fred

begin:vcard fn:Fred n:;Fred org:IDKAL url:http://www.idkal.com version:2.1 end:vcard