+ Reply to Thread
Results 1 to 2 of 2

Locked but editable cells?

  1. #1
    Registered User
    Join Date
    09-22-2019
    Location
    Portland Oregon
    MS-Off Ver
    2010
    Posts
    5

    Locked but editable cells?

    I have a sheet I'm trying to make that will draw data from a table. I have that part but sometimes I need to edit one of the cells that are pulled from the data.
    For instance, if the table cell is empty, but on the output I need a value, I would enter it manually.

    This is easy if I don't have locked cells but if the sheet is saved then I lose the formula.

    Is it possible to have a cell that has a locked formula that can be overridden, but the override won't save?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Locked but editable cells?

    When you type a value into a cell containing a formula, that formula is gone forever. There is nothing built in to Excel that can restore the formula after this happens (except "undo"). It would be possible but a bit complicated develop a custom solution, and would require VBA.

    Using VBA, you could have a "shadow" version of this sheet that is a copy of the sheet, and upon saving, VBA could use the shadow sheet to restore any formulas that were overwritten by values. This would be very specific to your file and difficult to program without having your file. The paper clip icon does not work for attachments. To attach a file, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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: 10
    Last Post: 12-10-2018, 05:38 AM
  2. Copy and paste locked cells, and have pasted cells retain LOCKED status.
    By stratloveslenny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2014, 03:05 PM
  3. Replies: 3
    Last Post: 04-12-2014, 04:47 AM
  4. Replies: 11
    Last Post: 06-13-2013, 05:00 AM
  5. Editable locked cells
    By Rfish in forum Excel General
    Replies: 2
    Last Post: 10-19-2007, 12:48 PM
  6. [SOLVED] Cell is locked but still editable...
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2006, 09:10 AM
  7. [SOLVED] Put comments on a locked spreadsheet even though cells not locked
    By RDP in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2005, 07:05 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