Programmatic access, in outlook:
2003:
Application | tools | macros | Macro Security | trusted sources | Trust Access to the VBA Object Model ... Ensure ticked
2007:
Application | Office Button | App Options | Trust Centre | Trust Centre Settings | MAcro Settings | Trust Access to the VBA Object Model ... Ensure ticked