Skip to main content
XLSTAT is joining the Lumivero family. Learn more.

Run-time error '1004' - Programmatic access to Visual Basic Project is not trusted (Mac)

This error appears on Office 2016 or greater and Office 365 on the Mac version.

image.png

This error is due to the addition of a security option in the Office options by Microsoft.

To solve your problem, please follow this procedure below:

1- Click on Excel menu

2- Click on Preferences

2- In the section Sharing and privacy, click on Security

image.png

3- Then check Enable all macros (...) and Trust access to the VBA project object model

image.png

You can now open XLSTAT securely.

Was this article useful?

  • Yes
  • No