VBA Project Password Dialog Shows On Close

Posted on 2010-01-08
Last Modified: 2013-11-25
I have excel 2007 application with some vba in it.  The problem is that whenever i close  the workbook, i get the VBA Project Password Dialog box shows up.  Can someone provide me a solution for this problem?  thanks.
Question by:karinos57
    LVL 81

    Expert Comment

    by:zorvek (Kevin Jones)
    Is the VBA project password protected? If so, have you tried removing the password?

    Can you upload the workbook?

    LVL 81

    Accepted Solution

    If you are calling an ActiveX DLL you may have this problem:

    Title: Password prompt for VBA project appears after Excel quits

    LVL 85

    Expert Comment

    by:Rory Archibald
    THis can also happen due to certain COM add-ins (Google Desktop used to cause it for some people). You can check in the registry to see if their LoadBehavior key is set to 3 - if so change it to 2, or uninstall it. You can also simply try disabling them all and adding them back one by one to see which is causing the problem.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Article by: Martin
    Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
    This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
    The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
    This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now