>    Dim  Flags         As Long
>    Flags = com.sun.star.sheet.CellFlags.STRING + _
>            com.sun.star.sheet.CellFlags.VALUE

Se l'errore ti viene visualizzato qui:
>    I = oCol_Sigla.queryContenentCells( Flags )
potrebbe essere perché hai scritto "Contenent" invece di "Content"

Se ti viene visualizzato qui:
>    Print I
è molto probabilmente dovuto al fatto che "I" non è una stringa/numero
che possa essere "stampato", ma un oggetto che, tra l'altro, contiene i
range in cui è presente ciò che hai cercato (se ho ben capito...).

Forse questo ti può aiutare:
"how to detect a cell range if it is empty"
http://www.oooforum.org/forum/viewtopic.phtml?t=12879

Ciao!
Emanuele.

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

Rispondere a