Re: [api-dev] Re: working with objects: syntax error

2008-02-19 Thread Christoph Jopp
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(

[api-dev] Re: working with objects: syntax error

2008-02-19 Thread Jonathan Kaye
Christoph Jopp wrote: > Jonathan Kaye schrieb: >> Jonathan Kaye wrote: >> >> >> >>> Hi Fernand, >>> Thanks for the reference. I had a look but there's a huge amount of >>> material and I didn't really see anything relevant to the situation I >>> described. Can you give me a hint as to how to d

Re: [api-dev] Re: working with objects

2008-02-19 Thread Christoph Jopp
Sorry, Fernand was quicker Christoph Jopp schrieb: > Jonathan Kaye schrieb: > >> Jonathan Kaye wrote: >> >> >> >> >>> Hi Fernand, >>> Thanks for the reference. I had a look but there's a huge amount of >>> material and I didn't really see anything relevant to the situation I >>> descr

Re: [api-dev] Re: working with objects

2008-02-19 Thread Christoph Jopp
Jonathan Kaye schrieb: > Jonathan Kaye wrote: > > > >> Hi Fernand, >> Thanks for the reference. I had a look but there's a huge amount of >> material and I didn't really see anything relevant to the situation I >> described. Can you give me a hint as to how to define a substring of an >> object

Re: [api-dev] Re: working with objects

2008-02-19 Thread Fernand Vanrie
Jonathan Kaye wrote: Jonathan Kaye wrote: Hi Fernand, Thanks for the reference. I had a look but there's a huge amount of material and I didn't really see anything relevant to the situation I described. Can you give me a hint as to how to define a substring of an object that is itself an ob

[api-dev] Re: working with objects

2008-02-18 Thread Jonathan Kaye
Jonathan Kaye wrote: > Hi Fernand, > Thanks for the reference. I had a look but there's a huge amount of > material and I didn't really see anything relevant to the situation I > described. Can you give me a hint as to how to define a substring of an > object that is itself an object and so can b

[api-dev] Re: working with objects

2008-02-18 Thread Jonathan Kaye
Fernand Vanrie wrote: > Jonathan Kaye wrote: >> Hi again, >> I'm now trying to get my head around how objects work in macros. I'm >> trying to write a subroutine that will take the contents of a cell and >> embolden the text up to a fullstop and leave the rest of the string >> unchanged. Borrowing