excel add-in

hello Experts,

We have a software that add add-in in excel. We were using office 2010.No we upgraded that to office 2016 and the add-in is gone. When we try to add the add-in manually we are getting error Error:1004: Programatic access to visual basic project is not trusted. I am adding the add-in manually. Is there any command or registry hack so that we can make a script to add the add-in. The addin is located in software folder located in c drive.

shyam pothiniAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Serena HsiMarketing ConsultantCommented:
The MSDN support site has this recc for your error:

To enable or disable access to Visual Basic Projects
On the Tools menu in Word or Excel, point to Macro, and then click Security.
In the Security dialog box, click the Trusted Publishers tab.
Select to enable, or clear to disable, Trust Access to Visual Basic Project.
Click OK.

Also, if you are enabling this for all users:

Value : AccessVBOM

1: To check the checkbox
0: To uncheck the checkbox

Or use group policy to configure this setting.

See also:


If you are enabling it for just the user, replace HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RaminTechnical AdvisorCommented:
Did you try to reinstall that software. add-in installs when you install the software.
shyam pothiniAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.