+ Reply to Thread
Results 1 to 6 of 6

Protect/unprotect formula cells of entire workbook

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    26

    Protect/unprotect formula cells of entire workbook

    Hi...

    Can u please let me know how can i protect/unprotect formula cells for entire wokrbook in one command or formula instead of one by one sheet.

    Thanks

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Protect/unprotect formula cells of entire workbook

    Hi Shafiqe,

    first unlock all the cells of the worksheet and the press below keys:-


    F5
    alt + s
    f
    Enter

    now all formula cell should be selected automatically, now format cells -> lock them
    protect sheet. .. done



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    01-10-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Protect/unprotect formula cells of entire workbook

    Thank you for the solution DILIPandey.

    This solution is to protect sheets one by one, but i want to protect cells formula for entire workbook or all sheets at once. kindly suggest.

    Regards
    Shafique

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Protect/unprotect formula cells of entire workbook

    Okay.. then only solution is Macros (vba).. are you ok with that ?


    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    01-10-2013
    Location
    Lahore, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Protect/unprotect formula cells of entire workbook

    okay......

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Protect/unprotect formula cells of entire workbook

    Hi Shafiqe,


    use below code to protect all formula cells of entire workbook :-

    Please Login or Register  to view this content.

    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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