How to force user to deal with the Security Warning when starting Access 2007?

后端 未结 6 1172
孤独总比滥情好
孤独总比滥情好 2021-01-21 01:41

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,

6条回答
  •  借酒劲吻你
    2021-01-21 02:38

    You can avoid this by setting the IsTrusted flag to TRUE in your AutoExec macro. See Transitioning Your Existing Access Applications to Access 2007 -- search for IsTrusted to get you to the heart of the explanation of how to handle it.

提交回复
热议问题