Solved

Excel 2007 - enforce "Trust access to the VBA project object model"

Posted on 2011-03-09
5
1,906 Views
Last Modified: 2012-06-21
Is there a way to enforce a local setting on a PC (a PC that will be imaged) to enforce the "Trust access to the VBA project object model" setting?
Like a registry tweak or something to enforce this setting for any user that loggs onto the computer (vm image)?


vba.png
0
Comment
Question by:garryshape
  • 3
  • 2
5 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 35083976
I think that setting is per user rather than per machine (based on the Administrative templates for 2007 group policy.)
0
 

Author Comment

by:garryshape
ID: 35084627
Ok thanks, I guess I'll have to use the group policy templates.
Unless there's any other way in registry to do it?
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35084898
Not that I'm aware of, but this is not really my area. :)
0
 

Author Comment

by:garryshape
ID: 35085675
I ran this app from Nirsoft (http://www.nirsoft.net/utils/reg_file_from_application.html) and monitored Excel as I made the change.

After I enabled the setting, it showed this in the capture window:

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security]
"AccessVBOM"=dword:00000001

So that might be the right setting. I'll have to test it.
0
 

Author Comment

by:garryshape
ID: 35085690
Nvm that's still an HKEY Current User. So unless I can put it as a long script somehow, I'll have to ensure an Office 2007 AD template can be applied in this environment.
Or just tell user's how to execute a few mouse clicks to enable it themselves.....
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question