Consulting

Results 1 to 8 of 8

Thread: Delete formulas when unprotect

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Contributor CaptRon's Avatar
    Joined
    Mar 2007
    Location
    Austin, Texas
    Posts
    141
    Location
    Quote Originally Posted by mikerickson
    Sheet Protection, with a password, should be sufficient for the curious, but inexperienced.
    It seems to me, that deleting a sheet (i.e. ruining the spreadsheet) is more likely to harm the authorized user for clumbsyness than to add security.
    I confess, I have never known of a user inadvertently removing the sheet protection, given a password was applied. Circumventing the password protection must be done purposely and with some determination. For ordinary users content to use the workbook as designed, password sheet protection is more than adequate and this code presents no hazard.

    The approach detailed above is not intended for the ordinary user. Since employing these tactics more than 5 years ago, I no longer have to endure emails and phone calls from users distressed by malfunctioning workbooks "improved" and distributed by some genius too lazy or inept to create his own work but quite sure he knows how to better mine. When just once the workbook disappears before their eyes, word quickly gets around....DON'T REMOVE THE SHEET PROTECTION or the workbook is toast. I do allow them to print each page before destruction (I'm not heartless).


    Another part of my need to preserve the workbook intact is that our employees do not have permission or privilege to alter agency forms/reports or workbooks that produce them, though a few are bold enough to try anyway.

    All my workbooks open with a notice to the user that sheet protection must remain intact or the workbook will either self-destruct or otherwise become dysfunctional. Rather than destroy the worksheets, forcing the workbook to close without saving has proven equally effective, if properly done. Not as dramatic, but still effective.

    Ron
    Last edited by CaptRon; 02-23-2009 at 10:30 PM.
    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.

Posting Permissions

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