Invoke VBA macro issue

Hello everyone,

I have used invoke VBA in my code and selected the macro settings.

But I am still getting this issue (Programmatic access to Visual Basic Project is not trusted), does anybody know why this happening.

@Mohammad.Fuad,

After enabling these settings, I would suggest to restart the machine once and then try to rerun.

Thanks,
Ashok :slight_smile:

@Mohammad.Fuad

  1. Is it enabled on the machine which it is running?
  2. Did you happen to restart after changes?
  3. Sometimes it might be issue with the vba file created try to create a new file and check or delete the package from .nuget folder and let it redownload

cheers