954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VBA Macro security problem

Hi all,

I have designed an application in MS Access 2007 that will be used in some schools (over 60 schools).

Each time I start the application, it shows an alert in the message bar that the VBA macros are disabled, and gives me the option to enable it for the current session only.

I know that it can be solved by enabling macros from the Trust Center each time the database is started. The problem is that this way applies only to the current machine, and moving the application to any other machine will reset this setting and needs to do the same steps on the new machine.

Is there any way to automatically set the macros enabled, instead of giving each user a list of instructions how to set it manually?

Thanks

Datsun90
Newbie Poster
22 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

No, each computer has to have it set up. You can run a batch file to update registry settings ( see here for more about the registry settings required).

boblarson
Junior Poster in Training
79 posts since Jan 2008
Reputation Points: 31
Solved Threads: 8
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: