+ Reply to Thread
Results 1 to 7 of 7

(Unresolved Bugs) Remove VBA password prompt after quit Excel

  1. #1
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Hi All experts,

    After searching on many webpage & another Forums , I found this issue is "Unresolved Bugs" in VBA. Almost all expert may only suggest to remove COM Add-ins using windows registry editor but it also means that the COM add-in will not be loaded when you start Excel. So this is not a recommended fix.

    There are also some users recommend to remove the password but it means that the code can be seen by anyone who use the workbook. if so, for what reason Microsoft introduce VBA Project password. The prompt password recurring few times after quit Excel may give an inconvenience to user.

    Is there any better workaround to overcome the issue? Please help me.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    I never experienced Remove VBA password after quit Excel. Seems like a strange behavior


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Quote Originally Posted by Faridwahidi View Post
    Is there any better workaround to overcome the issue? Please help me.
    I explored this problem very thoroughly. And I did find one workaround that works (it's not a perfect solution though). See my thread: http://www.excelforum.com/excel-prog...to-appear.html
    *******************************************************

    HELP WANTED! (Links to Forum threads)
    Trying to create reusable code for Custom Events at Workbook (not Application) level

    *******************************************************

  4. #4
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Hi mc84excel,

    Thanks for the feedback. I believe many VBA user having this problem. I wonder how Sixthsense never experienced such problem.


    I found the following link but not a good solution.

    https://support.microsoft.com/en-us/kb/280454
    http://www.bettersolutions.com/excel...R026524332.htm
    https://solver.zendesk.com/entries/2...assword-Prompt
    http://www.ozgrid.com/forum/showthread.php?t=171933

  5. #5
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Hi Faridwahidi, so did converting your macro workbook to a XLA/XLAM add-in fix the problem for you?

    PS Thanks for the rep

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Hello Faridwahidi,

    This has been a long standing problem as you have discovered. Excel's protection has always been about preventing accidental changes to data or formulas. It was never designed to provide real security.

    Over the years, some software companies have created Excel compilers to provide security. These programs are applications that convert an Excel workbook into an executable file to protect data and prevent viewing.

    While this conversion process does encrypt the data to prevent viewing and changes, it is not without it's drawbacks. Once encrypted, some common problems are you can not enter new formulas, insert or delete rows, sort data, use array formulas, or add new sheets.

    Other drawbacks affect deployment like compatibility between versions of Excel, language differences, 32 and 64 bit architectures, and Window OS versions. Also, needed run-time files must to installed on the client's machine for the workbook to perform correctly.

    Compiling large files with lots of formulas or extensive VBA code have been shown to problematic. Freezing, crashing, and data loss or corruption are not uncommon problems. However, in my research I did find a company who has taken a different approach to Excel file security. I have not used this program and don't know if it lives up to it's claims. You may want to check it out for yourself DataSafeXL.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  7. #7
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: (Unresolved Bugs) Remove VBA password prompt after quit Excel

    Hi Leith Ross,

    Thanks for very clear and helpful explanation.
    I would rather decide not to use password and advise my users not editing the code.


    @mc84excel,
    Thanks for your feedback too.
    Last edited by Faridwahidi; 07-09-2015 at 09:05 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Code for prompt for save before quit
    By uu_urfriend in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2012, 11:06 PM
  2. Excel as a cover page, password required to quit
    By kyetan in forum Excel General
    Replies: 1
    Last Post: 06-15-2009, 07:51 AM
  3. [SOLVED] Remove all macros and objects in Excel, Save and Quit
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2006, 07:45 AM
  4. Replies: 0
    Last Post: 06-02-2006, 07:30 AM
  5. my password quit working in an excel workbook, help!
    By Cheryl B in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-26-2006, 08:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1