+ Reply to Thread
Results 1 to 4 of 4

Edit a locked sheet that is locked due to date expiration

  1. #1
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Edit a locked sheet that is locked due to date expiration

    I have the below code

    Please Login or Register  to view this content.
    Which works, however I am in danger of locking myself out after the expiration date. How can I ensure I have access after the expiration date, just to change it to anew expiration date in the future please?

  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: Edit a locked sheet that is locked due to date expiration

    If you look for simple solution (but not very secure - well already using Workbook_Open event is not very secure :-)) you may try something like:
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2503
    Posts
    1,451

    Re: Edit a locked sheet that is locked due to date expiration

    You could check the username of the user and if it is you then skip past - as Kaper has stated above' it's not really very secure.
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Edit a locked sheet that is locked due to date expiration

    Thanks for the replies, I will have a look at these

+ 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. Dynamic Drop Down list locked by Edit Objects in protected sheet
    By Kestrel Aviation in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2020, 03:09 AM
  2. Replies: 2
    Last Post: 01-07-2020, 02:33 AM
  3. Insert and Edit new rows in locked sheet
    By Leetamak23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2017, 02:41 PM
  4. Double Click to Edit Dropdown Text in Locked Sheet
    By Wadeeee in forum Excel General
    Replies: 2
    Last Post: 07-27-2016, 10:51 AM
  5. locked cell and locked date and hour
    By sennahayo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2014, 11:26 AM
  6. Replies: 6
    Last Post: 08-08-2014, 09:46 PM
  7. Locked worksheet based upon date and locked columns when worksheet is not locked
    By ruralbrew in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2011, 05:18 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