+ Reply to Thread
Results 1 to 5 of 5

Protect Sheet on multiple sheets

  1. #1
    dellschipper
    Guest

    Protect Sheet on multiple sheets

    I need to protect about 100 worksheets in one workbook with the same password. Each sheet would be (initially) identical to every other worksheet with some cells locked and some cells unlocked (the same for each sheet).

    When I select muiltiple worksheets (to operate on all of them at the same time) I can lock and unlock the desired cells, but I cannot set a password on the worksheets. I can only apply a password to a sheet one at a time, which takes too long for entering about 100 passwords twice.

    Is there any quick way to accomplish this?

  2. #2
    dellschipper
    Guest

    Bump no response

    Bump no response

  3. #3
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Here is a very quick way via a macro.

    Hit ALT + F11 to enter the VB editor.
    From the menu, select Insert > Module.
    Copy the following code to the window:

    Please Login or Register  to view this content.
    Be sure to change the password in the code above.

    Exit out of the VBE to return to Excel, then to run the macro, go to Tools > Macro > Macros, then select the macro to run.

    HTH

    Jason

  4. #4
    dellschipper
    Guest

    UNprotect Macro

    Jason,

    Thanks for the solution. Before I test it I want to be sure to be able to UNprotect with a similar macro. Would the following work?

    Thanks, Dell.

    Please Login or Register  to view this content.
    Last edited by dellschipper; 01-16-2009 at 04:47 PM.

  5. #5
    dellschipper
    Guest

    Prompt needed for macro

    In order to not have the password listed in the macro(s) can the macro prompt for the password?

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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