+ Reply to Thread
Results 1 to 7 of 7

Locking all Formulas on a spreadsheet

  1. #1
    Registered User
    Join Date
    01-29-2010
    Location
    Staffordshire
    MS-Off Ver
    Excel 2003
    Posts
    3

    Exclamation Locking all Formulas on a spreadsheet

    Hi All,

    I am currently working on a new spreadsheet for my company in which the workbook has various TABS for each department in which data is entered and formulas are in place to calculate totals on a daily, weekly and monthly basis.

    On top of this I have other TABS showing the STATS for all departments for weekly monthly and annual figures.

    All the TABS in the workbook contain at least 1 if not numerous formulas, and in fact the Stats tabs are only for pulling data from the other sheets.

    I understand you can unlock cell ranges for data entry and lock other cells but I can only see this in "ranges".

    What I would like to do is protect every formula on the workbook as they are so extensive it would take me as much time to protect each/give access to certain ranges as it did to create the workbook in the first place!

    Can anyone tell me if this is possible, or am I best to lock the whole workbook and only allow permissions to certain people within each department?

    Thanks all!!

    ~Sat~
    Last edited by Satanscat; 01-30-2010 at 04:54 AM. Reason: Incorrect title

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Hi and please help!

    Hi Cat, welcome to the Forum.

    Be sure to read through the Forum Rules that you agreed to when you registered...so you can use and follow them effectively. For instance, you'll need to edit that post above and revise the title to properly define the topic. (Rule #1)

    Perhaps "Locking all Formulas on a spreadsheet"

    This is doable, fix that title and I can show you some ideas.
    EDIT the original post, GO ADVANCED...
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-29-2010
    Location
    Staffordshire
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Locking all Formulas on a spreadsheet

    Hi JB,

    Thanks for that and my apologies.

    I look forward to some assistance when you have chance.

    ~Sat~

  4. #4
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Locking all Formulas on a spreadsheet

    hi and welcome to the board
    Check this link
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Locking all Formulas on a spreadsheet

    That's the way I would do it. The Special Cells property is very powerful.

    1) Select all cells on sheet
    2) Press CTRL-1 to open the Format Cells dialog
    3) On the Protection tab, uncheck the LOCKED option
    4) Click OK

    Now all cells are unlocked

    5) Now press F5 and click on SPECIAL
    6) Select Constants
    7) Click OK
    8) Ctrl-1 to open the Format Cells dialog again
    9) On the Protection tab, click on the LOCKED option to select it
    10) Click OK

    11) Last step, protect the worksheet.

  6. #6
    Registered User
    Join Date
    01-29-2010
    Location
    Staffordshire
    MS-Off Ver
    Excel 2003
    Posts
    3

    Thumbs up Re: Locking all Formulas on a spreadsheet

    Thank you both so much

    I'll sort this out before Monday when I take the finished product to the director to review!

    ~Sat~

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Locking all Formulas on a spreadsheet

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated. It is found across from the "time" in each of our posts.)

+ 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