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:  <mailto:[email protected]> [email protected]

 <http://www.valen.es> www.valen.es

 

Attachment: PlantillaWsOO.ott
Description: application/vnd.oasis.opendocument.text-template

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to