Programatic access to visual basic project is not trusted

I am getting this error when using “Invoking VBA” activity.

“programatic access to visual basic project is not trusted”

Any help would be highly appreciated.

Thanks!

Open your excel go to Trust center settings and enable all macros

or just choose ‘Enable all’ from the properties pane inside excel application scope activity.

3 Likes

Thank you,

Now I am getting:
“The macro may not be available in this workbook or all macros may be disabled”

even I have enabled the path where the excel file and the vba script resides.

You saw the link ? You ve enabled it from excel at the trust center settings ?

Yes, it is working now. I did not realize the Excel was keeping alive all versions of the vba script.

Thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.