Hi,

getCellByName is a method of com.sun.star.text.XTextTable and this interface is not supported by a sheet.
getCellByPosition is your friend ;-)

Juergen

Alexander Peters wrote:
Hello!
When i use the methode getCellByName with an OLE connection on an empty sheet in Calc it returns an error. When i use getCellByPosition it works. What do i wrong? lole_sheet.getCellByName("E5") Is E5 not a correct name for a cell?


lole_sheet.getCellByPosition(4,5)
that works.

Thanks for Help.

Alexander Peters

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


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

Reply via email to