Hi Andreas,

Andreas Saeger wrote (21-4-2008 21:03)
Please, can somebody confirm the following problem or tell me where I am
wrong?

None of both...
Runs fine here (Dev300m9 / 2.4.0)
Maybe a clash with some var names??

Make thisComponent a spreadsheet.

REM  *****  BASIC  *****
Sub Main
sh = thisComponent.Sheets.getByIndex(0)
cell = sh.getCellByPosition(0,0)

'GlobalScope.BasicLibraries.loadLibrary("XrayTool")
'xray cell '<--shows cell.getStart(), cell.getEnd() and
cell.createTextCursor()

'all of the following raise error "Property or method not found":
txtRange = cell.getStart()
txtRange = cell.getEnd()
cursor = cell.createTextCursor()
'xray cursor
End Sub

Regards,
Cor


--

"The Year of 3" -2008- "Het jaar van 3"

Cor Nouws
Arnhem - Netherlands - nl.OpenOffice.org - marketing contact


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

Reply via email to