I know but it doesn't work either.

Salutacions,
 
Albert Arnau
Director Tècnic
Valen Computer
 
Ctra. Valls (Urb. Sant Salvador)
C/Poeta Mistral, 2 - 43130 - Tarragona
Tel (34) 977 52 30 02 - Fax (34) 977 52 30 05
e-mail: [email protected]
www.valen.es

-----Mensaje original-----
De: Mathias Bauer [mailto:[email protected]] 
Enviado el: lunes, 25 de mayo de 2009 22:58
Para: [email protected]
Asunto: Re: [dev] Using Macros

Hi,

I think Mikhail wanted to point out that the name should be
"MacroExecutionMode", not "MacroExecMode".

Regards,
Mathias

Albert Arnau wrote:

> Hi 
> 
> I've use it with value "4" and it doesn`t work.
> 
> Salutacions,
>  
> Albert Arnau
> Director Tècnic
> Valen Computer
>  
> Ctra. Valls (Urb. Sant Salvador)
> C/Poeta Mistral, 2 - 43130 - Tarragona
> Tel (34) 977 52 30 02 - Fax (34) 977 52 30 05
> e-mail: [email protected]
> www.valen.es
> 
> -----Mensaje original-----
> De: [email protected] [mailto:[email protected]] 
> Enviado el: lunes, 25 de mayo de 2009 15:43
> Para: [email protected]
> Asunto: Re: [dev] Using Macros
> 
> Hi Albert,
> 
> Please use "MacroExecutionMode" as argument name.
> 
> Best regards,
> Mikhail.
> 
> On 05/22/09 10:00, Albert Arnau wrote:
>>
>> Hi everybody,
>>
>>  
>>
>> I've a "little" problem with the macros in OpenOffice.
>>
>> I've a template where I have developed macros inside, when i open this 
>> template the macros as executed correctly.
>>
>> The problem is when i open that template in my application (in visual 
>> basic) the macros are no executed, i don't know why. Here is the code 
>> that I use
>>
>>  
>>
>> *Set oDesk = CreateUnoService("com.sun.star.frame.Desktop")*
>>
>> *Set oParam(0) = MakePropertyValue("MacroExecMode", 4)*
>>
>> *Set oDoc = oDesk.loadComponentFromURL(ConvertToUrl(SelDoc), "_blank", 
>> 0, oParam())*
>>
>>  
>>
>> I also attack the template
>>
>>  
>>
>> Any help? thanks
>>
>> Salutacions,
>>
>>  
>>
>> Albert Arnau
>>
>> Director Tècnic
>>
>> Valen Computer
>>
>>  
>>
>> Ctra. Valls (Urb. Sant Salvador)
>>
>> C/Poeta Mistral, 2 - 43130 - Tarragona
>>
>> Tel (34) 977 52 30 02 - Fax (34) 977 52 30 05
>>
>> e-mail: [email protected] <mailto:[email protected]>
>>
>> www.valen.es <http://www.valen.es>
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>   
> 
> 


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
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