Hi Ennio-Sr,

On Mon, Jul 04, 2005 at 18:57:46 +0200, Ennio-Sr wrote:

>   oRanges.addNewByName(sName$,xcl$,oCellAddress,Sheet_x) ' --->>> was 0)    
> instruction.
> Thanks to your suggestion I replaced the 4th parameter (Sheet_x) with an
> integer parameter, that gets its numeric value (0, 1, 2, etc) according
> tothe Sheet_x name

Which still sounds wrong to me. Please see the documentation at
http://api.openoffice.org/docs/common/ref/com/sun/star/sheet/XNamedRanges.html#addNewByName

When adding a common named range or formula the argument should be simply 0.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter bedevilled I18N transpositionizer.
 GnuPG key 0x293C05FD:  997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to