+ Reply to Thread
Results 1 to 2 of 2

Need a solution for auto delete workbook

  1. #1
    Registered User
    Join Date
    10-10-2022
    Location
    London
    MS-Off Ver
    2013
    Posts
    1

    Need a solution for auto delete workbook

    Hi all,

    I need a solution for deleting workbook if someone put incorrect password, let's say 2 or 3 times.
    I saw some tutorials where you can delete a row in code of xslx. by renameing it to .zip and editing original code to remove password, so I need solution which that hack will not work.

    Thx

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Need a solution for auto delete workbook

    Have in mind that user could make a copy of the workbook before first attempt and even if workbook is deleted after 3 passoword failures can use a copy :-)

    I think already in version 2013 there is File->info->protect->encrypt which offers quite strong protection. The solutions with renaming file to .zip and editing don't work on that type of protection.
    Of course user can make many attempts, but if the password is not predictable, (like one of team members name + current month) it is an effective way to protect.

    PS. Test it on the attached file
    Attached Files Attached Files
    Last edited by Kaper; 10-11-2022 at 03:39 AM.
    Best Regards,

    Kaper

+ 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. Replies: 15
    Last Post: 03-29-2020, 02:49 PM
  2. [SOLVED] In Search of a Solution that Auto Fills Cells
    By stvbrown2184 in forum Excel General
    Replies: 9
    Last Post: 08-01-2019, 11:59 AM
  3. Delete Row if value less than - Quicker Solution?
    By batchy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-27-2017, 08:45 PM
  4. solution:delete empty rows
    By lettuce137 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2009, 10:23 PM
  5. Solution to auto create labels for chosen rows?
    By comptechbranden in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2007, 11:23 AM
  6. Solution To Auto Height For Merged Cells
    By JoJo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2006, 05:58 PM
  7. auto color blank cells ,best solution
    By bigdaddy3 in forum Excel General
    Replies: 1
    Last Post: 08-03-2005, 01:05 PM

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