OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

MACRO PORTING ISSUE

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
nvgishere
General User
General User


Joined: 10 Feb 2010
Posts: 38

PostPosted: Fri Feb 26, 2010 12:51 am    Post subject: MACRO PORTING ISSUE Reply with quote

Hi
I am facing the following issue.

I ve created a calc file(.ods) with a macro.

Now when somebody else tries to copy this file and open it at their end , they are not able to activate the macro(shows some security issue)

I ve selected the option for macro security and ste it to low.

Still this issue prevails ..

pls help.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8983
Location: Lexinton, Kentucky, USA

PostPosted: Fri Feb 26, 2010 7:01 am    Post subject: Reply with quote

The other person must set his own security level. If this is something that will occur frequently then note the Trusted Sources tab where others can set a directory as trusted.
Back to top
View user's profile Send private message
nvgishere
General User
General User


Joined: 10 Feb 2010
Posts: 38

PostPosted: Sat Feb 27, 2010 8:23 pm    Post subject: Reply with quote

Hi...

Can u please elaborate on the "trusted sources tab ", where can i find it.

Is there no way to plug(hard code) the macro to a CALC file(as in my case) and port it to other users .
These users should be able to just run the macro without any security messages being flagged.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8983
Location: Lexinton, Kentucky, USA

PostPosted: Sun Feb 28, 2010 10:16 am    Post subject: Reply with quote

Quote:
the "trusted sources tab ", where can i find it.
Tools > Options > OOo > Security > Macro Security.
Quote:
Is there no way to plug(hard code) the macro to a CALC file(as in my case) and port it to other users .
These users should be able to just run the macro without any security messages being flagged.

If you could override security in your macro there would be no security at all.
Back to top
View user's profile Send private message
nvgishere
General User
General User


Joined: 10 Feb 2010
Posts: 38

PostPosted: Mon Mar 01, 2010 10:57 pm    Post subject: Reply with quote

Hi John,

I did the following procedure..
1) I opened a spreadsheet and named it temp.
2) I opened the tools >macro>organize macro>ooo basic
3) added a new library under temp.ods
4) added a new module under the library
5) added a macro(main) under it, which prints "helo"

But when i click the run button on the macro , i get the following message
"For security reasons you cannot run this macro"
"for more information check the security settings"

However when i add the macro under My macros and dialogues, it works.
I ve set the macro security to LOW.

Still it doesnot work

Pls help.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 8983
Location: Lexinton, Kentucky, USA

PostPosted: Tue Mar 02, 2010 6:48 am    Post subject: Reply with quote

I have no clue.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group