You must explicitly enable access to the Microsoft Office Visual Basic for Applications project system before you can create or

You can enable or disable the option Trust Access to Visual Basic Project manually.

To enable or disable this option manually

  1. On the Tools menu in Word or Excel, point to Macro and then click Security .

  2. Click the Trusted Publishers tab in the Security dialog box.

  3. Select to enable, or clear to disable, Trust Access to Visual Basic Project .

  4. Click OK .

To set your Office macro security level

  1. On the Tools menu in Word or Excel, point to Macro and then click Security .

  2. On the Security Level tab, select the desired setting.

    The Security Level tab contains details about each level. For more information, see the topic "Macro Security Levels" in Office Help.

or you can see
http://office.microsoft.com/en-us/help/enable-or-disable-macros-in-office-documents-HA010031071.aspx

你可能感兴趣的:(Microsoft,Security,basic,Office,System,Access)