Hi Jonathan
Jonathan Kaye schrieb:
> Hi Christoph,
> I tried this:
> Sub SetBold
> Dim oDoc As Object, oSheet As Object, oCell As Object
> Dim oTextCursor as Object
> Dim Position as Integer
> oDoc=ThisComponent
> oSheet=oDoc.Sheets.getByName("Sheet1")
> oCell=oSheet.getCellByposition(0,0) 'A1
> Position = InStr(oCell.getValue(), ".")
In your original post this was:
Position = InStr(oCell.getString(), ".")
and that works for me.
I'm assuming you try to execute this macro with content other than
string in cell A1 now???
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]