Hi, Fernand

It's very useful and helpful for me. Thanks for your quick reply!




Lee


在2010-01-28,"Fernand Vanrie" <[email protected]> 写道:
>Lee ,
>
>Security is part of the Document settings
>
>so i use in basic by openiong the document:
>
>Dim mFileProperties(0) As New com.sun.star.beans.PropertyValue
>
>mFileProperties(0).Name="MacroExecutionMode"
>mFileProperties(0).Value=4 ' see documentations for more value's
>
>oDocument = StarDesktop.LoadComponentFromURL(ConvertToURL(filepath), 
>"_blank", 0, mFileProperties())
>
>hope it helps
>
>Fernand
>> Hi,
>>
>>
>> I am using OOo3.
>> I want to change Macro Security Level in program. How to do it? Thanks in 
>> advance.
>>
>>
>> Best regards.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

Reply via email to