Direkt zum Inhalt

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

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

image.png
To solve your problem, please follow this procedure below:

1- Click on Excel menu

2- Click on Preferences

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

image.png

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

image.png

You can now open XLSTAT securely.

War dieser Artikel nützlich?

  • Ja
  • Nein