![]() Open the Office 2003 or Office XP application in question. To turn on access, the user must follow these steps. Resolutionįor any Automation client to be able to access the VBA object model programmatically, the user running the code must explicitly grant access. ![]() This security option makes it more difficult for unauthorized programs to build "self-replicating" code that can harm end-user systems. This is a per user and per application setting, and denies access by default. Office adds a security option to deliberately lock out programmatic access to the VBA object model from any Automation client unless a user chooses to permit such access. The same code works without error on computers with Office 97 and Office 2000. HRESULT = 0x800A17B4 (-2146822220) "Programmatic Access to Visual Basic Project is not trusted"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |