+ Reply to Thread
Results 1 to 5 of 5

VBA Code to Protect worksheets based on Conditions after Unprotect

  1. #1
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    VBA Code to Protect worksheets based on Conditions after Unprotect

    Dear Friends,

    I would need an VBA Code Which automatically Unprotect the protected worksheets and allow for Editing

    Condition 1 : - 60 Seconds

    Condition 2 : - Till the User Save the File

    Out off above two Conditions, which is coming up first…. Excel should automatically Protect the Worksheet Again.

    Thanks & Regards,
    Rajeshkumar R

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: VBA Code to Protect worksheets based on Conditions after Unprotect

    Do you have the password for the file?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: VBA Code to Protect worksheets based on Conditions after Unprotect

    Dear FDibbins,

    I have protected the sheet with a Password called “SCHEDULE” .

    Thanks & Regards,
    Rajeshkumar R

  4. #4
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: VBA Code to Protect worksheets based on Conditions after Unprotect

    Dear Experts,

    Need your valuable suggestions on subjected Request!

    Immediate support is Really Appreciated!

    Thanks & Regards,
    Rajeshkumar R

  5. #5
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: VBA Code to Protect worksheets based on Conditions after Unprotect

    Dear Experts,

    Is my above Request impossible to accommodate in VBA?

    Please Suggest!

    Thanks & Regards,
    Rajeshkumar R

+ 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. Cannot remember how to protect/unprotect worksheets
    By laurabach in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2013, 09:19 AM
  2. Re: Using Macro to protect and unprotect worksheets
    By simpson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2010, 02:11 AM
  3. Using Macro to protect and unprotect worksheets
    By jfoote in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2008, 04:43 PM
  4. [SOLVED] Protect/Unprotect Multiple Worksheets
    By Katherine R in forum Excel General
    Replies: 2
    Last Post: 05-09-2006, 11:15 AM
  5. Protect/unprotect ALL worksheets in workbook ?
    By Newsgal in forum Excel General
    Replies: 3
    Last Post: 03-29-2006, 04:15 PM
  6. [SOLVED] Protect/unprotect worksheets
    By davegb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2005, 07:06 PM
  7. [SOLVED] protect/unprotect grouped worksheets
    By Todd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-16-2005, 12:45 PM
  8. Protect/unprotect all worksheets
    By Janna in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2005, 09:06 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