+ Reply to Thread
Results 1 to 2 of 2

VB Code to protect and unprotect all sheets

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to protect and unprotect all sheets

    Hello:

    I have excel file with Jan,Feb,Mar....Dec sheets.
    I need VB Code to protect & Unprotect with pw:1111.
    Also need code to Freeze/Unfreeze at cell A42.

    Please let me know if you have any questions.
    Thanks.

    Riz

  2. #2
    Registered User
    Join Date
    08-05-2017
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    2

    Re: VB Code to protect and unprotect all sheets

    Hi, I think that the following code is what you're looking for:

    Please Login or Register  to view this content.
    Please let me know if this is the solution that you were looking for.

+ 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. [SOLVED] Unprotect & Protect All workbook sheets password protection / existing code help needed
    By annazet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2017, 04:51 PM
  2. Made a VBA code to protect sheets... now I can't unprotect the sheets
    By ferocity02 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-25-2017, 08:17 PM
  3. VBA to unprotect sheets x 2, refresh data then protect sheets
    By kaseyleigh in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-18-2016, 08:38 AM
  4. [SOLVED] Protect/Unprotect sheets
    By Lukael in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-17-2014, 07:33 PM
  5. [SOLVED] Macro to Unprotect sheets-unlock range of cells-protect sheets
    By jrace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2013, 10:45 AM
  6. [SOLVED] protect/unprotect all sheets
    By wayneg in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-03-2012, 08:20 AM
  7. protect/unprotect all sheets
    By roos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2006, 06:50 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