+ Reply to Thread
Results 1 to 2 of 2

How to autolock cells after specific hours passed & trigger autosave on protected sheets

  1. #1
    Registered User
    Join Date
    11-04-2020
    Location
    Singapore
    MS-Off Ver
    365
    Posts
    2

    How to autolock cells after specific hours passed & trigger autosave on protected sheets

    Hi guys,

    I'm trying to change the unlocked cells in columns B & D to locked cells, XX hours after data was entered in cells under column B.

    I also want to trigger the workbook to autosave at a specific time of the day (will too many autosave instances crash the file ?).

    I've looking over the internet for codes that might be relevant, but I can't seem to find the correct ones that can work with the current codes in my workbook.

    I've pieced together the current codes after looking through various excel forums for my workbook to track staff attendance (a little messy as I'm new to VBA).

    Workbook VBA
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that someone could help me with this & enlighten me if the codes are likely to clash and not run at all (workbook is opened 24/7).

    I'm also trying to disable the Share Workbook feature in the ribbon (any ideas on how to do it ?)

    Thanks a lot. :D
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-04-2020
    Location
    Singapore
    MS-Off Ver
    365
    Posts
    2

    Re: How to autolock cells after specific hours passed & trigger autosave on protected shee

    Anyone knows if it's possible to switch the cell status to locked, hours after data was entered ?

+ 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: 1
    Last Post: 11-14-2017, 04:30 AM
  2. Save Specific Protected Sheets to a new Workbook
    By aprilapple04 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2016, 02:48 PM
  3. [SOLVED] VBA to allow users to delete specific rows with locked cells on protected sheets
    By JT12345 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-13-2015, 02:46 PM
  4. [SOLVED] hide specific columns on multiple sheets with protected cells when workbook is closed
    By jrosko1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2013, 03:00 PM
  5. [SOLVED] Equation for how Many Hours have passed between two days Only during Specific Hours
    By rrcrbnsn07 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-26-2013, 11:39 AM
  6. Trigger Autosave VB in Excel File after Web Query
    By Shaun1034 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2011, 07:18 AM
  7. autolock range/ several cells
    By flornkex in forum Excel General
    Replies: 0
    Last Post: 07-09-2010, 05:19 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