Chapter 3: How to enable Trust Access to VBA Projects

Previous  Top  Next
hmtoggle_plus1Office 2007

1.   Open Microsoft Excel.

2.   Click on Office button if top left corner.

3.   In it, click on Excel Options below.

chapter-3-how-to-enable-trust-access-to-vba-projectsb1

 

4.   Once in Excel Options, select “Trust Center” & click on “Trust Center Settings..” as shown below.

chapter-3-how-to-enable-trust-access-to-vba-projectsb2

 

5.   In Trust Center, click on “Macro Settings” and enable/select “Trust access to the VBA project object model”

chapter-3-how-to-enable-trust-access-to-vba-projectsb3

6.   Click on OK twice.

7.   You will have to exit and restart Excel for the settings above to be effective.

 

hmtoggle_plus1Office 2003

1.   Open Microsoft Excel.

2.   Go to Tools->Macro->Security

 

chapter-3-how-to-enable-trust-access-to-vba-projectsb4

 

3.   In the Security window, go to Trusted Publishers & enable/select “Trust Access to Visual Basic Project”.

 

chapter-3-how-to-enable-trust-access-to-vba-projectsb5

4.   Click on OK.

5.   You will have to exit and restart Excel for the settings above to be effective.

 

 

 

See Also

Chapter 1: Executing Process Runner with Command Line Parameters

2.1 Automatically generate VBA code from Process Runner:

2.2 Step-by-step on manually generating VBA from Process Runner