+ Reply to Thread
Results 1 to 2 of 2

Macro code where a cell freezes on the basis of values in other cell

  1. #1
    Registered User
    Join Date
    09-26-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    13

    Macro code where a cell freezes on the basis of values in other cell

    Hi All,

    I was working on a stuff where I got stuck with something. Below is the situation which I am trying to resolve. I already have a macro code I am just looking to incorporate the below condition in it.

    if cell A2 = App then A5 would be unfreezed for the user to enter any value but if A2 is not "App" then A5 gets freezed with number "0" and user cannot edit it.

    Any help would be highly appreciated.

    Thanks,
    Vik

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Macro code where a cell freezes on the basis of values in other cell

    Hi Vik. You would have to make sure that A2 is unlocked and that the sheet is protected. Then try this macro:
    Please Login or Register  to view this content.
    Last edited by Mumps1; 12-23-2014 at 02:58 PM.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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. Replies: 4
    Last Post: 06-01-2014, 04:54 AM
  2. Sort rows in another sheet on the basis of a column cell values
    By ROHAN999 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-02-2013, 02:52 PM
  3. [SOLVED] Count unique values on basis of onter cell status
    By azeemsarwar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-15-2013, 09:52 AM
  4. Replies: 6
    Last Post: 06-27-2012, 12:09 PM
  5. Applying page break function conditionally on the basis of cell value using macro
    By crusader2010 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2010, 11:50 PM

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