Microsoft Knowledge Base Email Alertz

(205085) - If you export a module to or import a module from another Microsoft Access database or project, or if you drag a module from one instance of the Visual Basic Editor to another instance of the Editor, you may receive the following error message: This...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 205085 - Last Review: January 26, 2005 - Revision: 1.2

ACC2000: Can't Import Modules from Protected VBA Project

This article was previously published under Q205085
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

SUMMARY

If you export a module to or import a module from another Microsoft Access database or project, or if you drag a module from one instance of the Visual Basic Editor to another instance of the Editor, you may receive the following error message:
This VBA project has been protected with a password. You must supply the password in the Visual Basic Environment before you can perform this operation.

MORE INFORMATION

There is no way to supply the password to the protected project.

In order to complete the operation successfully, open the database or project that contains the protected Visual Basic for Applications project and export the module to the target database or project. If both the target and source databases are under Visual Basic for Applications password protection, remove the password from the Visual Basic for Applications project that you are importing from or exporting to.

REFERENCES

For more information about password protecting Visual Basic for Applications projects, click Microsoft Access Help on the Help menu, type protect VBE in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

APPLIES TO
  • Microsoft Access 2000 Standard Edition
Keywords: 
kbinfo KB205085
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate