How to set "Trust Access to the VBA project object model" in Excel 2007?
1. Right click
, and click
"Customize Quick Access Toolbar...":
2. Choose "Trust Center", and click "Trust Center Settings" button:
3. Choose "Macro Settings", and select "Trust Access to the VBA project object model":
4. Click "Ok".