Hi everybody,
Ive a little problem with the macros in OpenOffice.
Ive 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 dont 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
PlantillaWsOO.ott
Description: application/vnd.oasis.opendocument.text-template
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
