About 25,400 results
Open links in new tab
  1. vba - Lock certain cells in a range - Stack Overflow

    I'm trying to loop through a range of cells, locking any cell that has content while leaving empty cells unlocked. When I run the below code the result is the entire sheet is locked. If I add a...

  2. excel - How to lock specific cells but allow filtering and sorting ...

    Sorting Locked Cells in Protected Worksheets The thing to understand is that the purpose of locking cells is to prevent them from being changed, and sorting permanently changes cell …

  3. Protecting cells in Excel but allow these to be modified by VBA script

    72 I am using Excel where certain fields are allowed for user input and other cells are to be protected. I have used Tools Protect sheet, however after doing this I am not able to change …

  4. How to create "lock" (stop updating of cells) in Excel?

    I use Excel quite frequently, but rarely the fancy stuff. Anyway, to the point: How do I create a dropmenu that will lock certain cells, rows or columns? (by lock I mean unable to change via …

  5. Excel - Lock Range of Cells Based on Values - Stack Overflow

    Aug 10, 2012 · Is it possible to lock a particular range of cells based on the input from a dropdown in a row of data? For example, each row of my spreadsheet represents a patient, and the first …

  6. How to lock Excel cells in VBA? - Stack Overflow

    Sep 18, 2013 · This however seems to not be working for my situation :/ Protecting (or "locking") the cells prevents my vba code from changing cell values as users cycle through records. I …

  7. Lock certain cells depending on value from another cell

    Jun 11, 2018 · Im looking to lock a particular range of cells based on the input from a drop down in a row of data? For example, In every row, third cell asks a question - "YES" or "NO" via a …

  8. How to Lock the data in a cell in excel using vba

    Nov 19, 2012 · I want to stop others from editing the cell contents in my excel sheet using VBA. Is it possible to do this?

  9. excel - Lock some cells from editing in python openpyxl - Stack …

    Oct 23, 2017 · The specification says this about protection for individual cells: A boolean value indicating if the cell is locked. When cells are marked as "locked" and the sheet is protected, …

  10. Protect certain cells when saving data to excel using R

    Jun 22, 2023 · 0 I want to save my data frame to Excel and protect/ lock certain cells. The function openxlsx::protectWorksheet() protects the entire sheet, and I've found an answer that uses …