When a user start an Access 2007 database that have macros and vba, a security warning is shown. I want the user to deal with this warning, so if the the content is t enabled, the user should not be able to use the database.
Now I use a macro named AutoExec
(opens a form that works like a menu), and that macro is run before the user deal with the security warning. But I want to check if the content is enabled and if not I will show a form that inform the user that they should enable the content.
So what I m actually asking for is how do I do this:
- If vba and macros is not enabled -> show form "information"
- If vba and macros is enabled -> show form "start menu"