+ Reply to Thread
Results 1 to 2 of 2

How to lock cell based on first value?

  1. #1
    Registered User
    Join Date
    07-02-2014
    Location
    Hartford, CT
    MS-Off Ver
    MS Office 2010
    Posts
    2

    How to lock cell based on first value?

    Hello,
    I have a multisheet excel workbook that I am programming. I was wondering if there is a way to lock a cell on one sheet after the initial value was put in, allowing me to change it later. This may not be so clear so here is the problem....

    I have Workbook1. The input from cell A3 on Sheet1 is 5. I have made a second sheet called Order Form. In cell B5 of Order form I have made it ='Sheet1'!A3. I am looking for a way to be able to change cell A3 on Sheet1, but keep the 5 on Order Form. Is this possible??

    It's almost like a one time input.

    Any help will be appreciated.

    Thanks,

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: How to lock cell based on first value?

    Put this in the worksheet object module for Sheet1:
    Please Login or Register  to view this content.
    When you type something in Sheet1 A3, it will be copied to Order From B5 only when B5 is currently blank.

+ 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. Lock/Unlock a cell based on the value selected from drop down in adjacent cell
    By mahesnrm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2013, 08:28 AM
  2. Lock row based on cell value in same row
    By Eline in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-11-2013, 09:56 AM
  3. Replies: 1
    Last Post: 03-11-2013, 03:10 PM
  4. Replies: 1
    Last Post: 03-10-2013, 01:54 PM
  5. [SOLVED] How to lock a row in a spreadsheet based on the value in a cell
    By Prasad in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-16-2005, 01:25 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