+ Reply to Thread
Results 1 to 8 of 8

Lock worksheet is specific cell has value over 1M

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    4

    Lock worksheet is specific cell has value over 1M

    Hi

    I am trying to lock an worksheet if a value of over 1M is entered into a specific cell.

    Is this possible?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lock worksheet is specific cell has value over 1M

    Quote Originally Posted by staceynairn View Post
    I am trying to lock an worksheet
    Lock refers to sheet protection?

    Also please confirm the cell reference


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Lock worksheet is specific cell has value over 1M

    Hi

    Yes I would like to protect the sheet if vale of cell D29 is greater than or equal to 1M.

    Thanks so much for your fast reply

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lock worksheet is specific cell has value over 1M

    Copy the below code and do right click on sheet tab and select view code and paste the below code.

    Return to excel and do entry on D29 Cell and check and confirm

    Please Login or Register  to view this content.

  5. #5
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Lock worksheet is specific cell has value over 1M

    Sixthsense, I believe OP meant 1,000,000 by 1M, but I could wrong though.
    多么想要告诉你 我好喜欢你

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lock worksheet is specific cell has value over 1M

    @ millz,

    Even I am also not sure about the exact keyword about how the OP will enter the values in it.

    Just attempted to give solution on assumption.

    The questioner should be clear in describing the input values to get exact solution.

    We wait and see

  7. #7
    Registered User
    Join Date
    01-17-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Lock worksheet is specific cell has value over 1M

    Hi sorry I did mean 1,000,000 are you able to amend for me? Thanks so much for your help!

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lock worksheet is specific cell has value over 1M

    Replace the previous code with the below one

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Lock worksheet is specific cell has value over 1M

    @Sixthsense: Very good job on that

+ 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. Is there an easy way to lock all formulas to the specific cell?
    By mcmuney in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2013, 01:26 AM
  2. Replies: 0
    Last Post: 07-03-2012, 05:42 AM
  3. Lock Specific cells in a worksheet.
    By excelkeechak in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-02-2009, 11:46 AM
  4. Lock fill colour to specific cell
    By mattsson_karl in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-27-2008, 11:09 AM
  5. Lock data in a cell a specific cell based on selection on other ce
    By CrimsonPlague29 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-10-2006, 06:10 AM

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