IAintaBlonde.com

Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled

You Gotta Be Kiddin ME!!!!

After 3 hours of Visual Studio 2005 installation, then VSTO installation, and now this!!!!!

The error is:

Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled. If Microsoft Office Excel is running,k it can prevent programmatic access from being enabled. Exit Word or Excel before opening or creating a project

Anyways, here is the way to get this freaking error off the face of the monitor!!

  • Open Word/Excel (2003) :Tools>
    Macro
    >
    Security >
    Trusted Publishers >
    Check against Trust access to Visual Basic Project
  • Open Word (2007):Click on Top-most button for Office>
    WORD OPTIONS >
    Trust Center>
    Trust Center Settings
    >
    Check against Trust access to the VBA project object model>
    OK
    >
  • Open Word/Excel (2007):Click on Top-most button for Office>
    Excel Options
    >
    Trust Center>
    Trust Center Settings
    >
    Macros Settings
    Check against Trust access to the VBA project object model>
    OK
    >
    OK
  • Obvious enough exit Word & Excel & try
, , ,

This entry was posted on Friday, June 29th, 2007 at 11:08 pm and is filed under Visual Studio Tools for Office: VSTO, Visual Studio 2005, Microsoft Office 2003, Microsoft Office 2007. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply »»

Close
E-mail It