Enabling Macro and VBA on start up

Rob Ross

Registered User.
Local time
Yesterday, 23:48
Joined
May 24, 2012
Messages
28
Is there a way to enable the macros and VBA coding when the program opens without having to do it manually? My database opens with the application frame hidden so users don't get the message to enable the code. It is a multi user database that is accessed on line.
 
You can create a Macro that is named "AutoExec".

This will fire on start up.

I trust every user has their own copy of the Front End on their own Drive.
 
Thanks, would it be better to do this or is there a way to have a pop up come up to let users enable it since I have the application window hidden?
 
Unless you list the database as trusted (via that suggested post) then NO CODE will run when your database opens.

You said it has a hidden window too.

I would think it is obvious you must set a trust rule in order to avoid grid lock.
 

Users who are viewing this thread

Back
Top Bottom