+ Reply to Thread
Results 1 to 3 of 3

Password Protection

Hybrid View

  1. #1
    Tom
    Guest

    Password Protection

    Is there a way to add password protection to all worksheets (same
    password used) within a workbook so that all cells within the workbook
    cannot be changed. The workbook has 6 worksheets that are used.

    Thanks


  2. #2
    Earl Kiosterud
    Guest

    Re: Password Protection

    Tom,

    There isn't password protection to limit viewing, but you can protect the
    sheets, to prevent changing. Tools - Protection - Protect sheet. The
    protection must be applied to one sheet at a time, and can include a
    password to prevent a user from unprotecting it. Sort of. If none of the
    cells has been unlocked (Format - Cells - Protection), then none can be
    changed.

    --
    Earl Kiosterud
    www.smokeylake.com/
    -------------------------------------------

    "Tom" <tsanders123@hotmail.com> wrote in message
    news:1119559076.253664.13890@g44g2000cwa.googlegroups.com...
    > Is there a way to add password protection to all worksheets (same
    > password used) within a workbook so that all cells within the workbook
    > cannot be changed. The workbook has 6 worksheets that are used.
    >
    > Thanks
    >




  3. #3
    Gord Dibben
    Guest

    Re: Password Protection

    Tom

    All sheets at once. Not without VBA.

    Sub ProtectAllSheets()
    Application.ScreenUpdating = False
    Dim n As Single
    For n = 1 To Sheets.Count
    Sheets(n).Protect Password:="justme"
    Next n
    Application.ScreenUpdating = True
    End Sub

    Sub UnprotectAllSheets()
    Application.ScreenUpdating = False
    Dim n As Single
    For n = 1 To Sheets.Count
    Sheets(n).Unprotect Password:="justme"
    Next n
    Application.ScreenUpdating = True
    End Sub


    Gord Dibben Excel MVP

    On 23 Jun 2005 13:37:56 -0700, "Tom" <tsanders123@hotmail.com> wrote:

    >Is there a way to add password protection to all worksheets (same
    >password used) within a workbook so that all cells within the workbook
    >cannot be changed. The workbook has 6 worksheets that are used.
    >
    >Thanks



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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