
There are three different ways to enable Trust access to the VBA project object model, and all the methods are mentioned above. How do I enable Trust access to the VBA project object model? Second, you can delete the REG_DWORD value and restart your computer. First, you can set the value data as 0 and restart your computer. However, if you want to turn this feature off, you have two options. ĭouble-click on it to set the value data as 1. Then, right-click on security > New > DWORD (32-bit) Value and set the name as accessvbom. Repeat the same steps to create a sub-key named security. Right-click on 16.0 > New > Key and name it as excel/word/powerpoint. Then, navigate to the following path: HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0 If the UAC prompt appears on your screen, click the Yes button. To learn more about these steps, continue reading.įor getting started, press Win+R > type regedit and hit the Enter button.

Right-click on 16.0 > New > Key and name it as excel.Navigate to Microsoft\office\16.0 in HKCU.Press Win+R > type regedit > hit the Enter button.To turn on or off Trust access to Visual Basic Project using Registry, follow these steps: Turn on or off Trust access to Visual Basic Project using Registry PowerPoint: User Configuration > Administrative Templates > Microsoft PowerPoint 2016 > PowerPoint Options > Security > Trust Centerĭouble-click on the Trust access to Visual Basic Project setting and choose the Enabled option.Īlternatively, choose the Disabled option to turn it off.Ĭlick the OK button to save the change. Word: User Configuration > Administrative Templates > Microsoft Word 2016 > Word Options > Security > Trust Center Then, navigate to the following path:Įxcel: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center To get started, press Win+R to display the Run prompt, type gpedit.msc, and click the OK button to open the Local Group Policy Editor. Double-click on the Trust access to Visual Basic Project setting.Navigate to Trust Center in User Configuration.Type gpedit.msc and click the OK button.To enable or disable Trust access to Visual Basic Project using Group Policy, follow these steps:

Enable or disable Trust access to Visual Basic Project using Group Policy Next, switch to the Macro Settings tab and tick the Trust access to the VBA project object model checkbox.Ĭlick the OK button to save the change. Then, switch to the Trust Center tab and click on the Trust Center Settings button.

To know more about these steps, continue reading.įirst, you need to open Microsoft Excel or Word or PowerPoint and click the Options visible in the bottom left corner.
