lock cells based on range

  1. F

    VBA Lock Cell in row if yes in selected

    Hello, I have the following code to lock the entire row, if the cell selects Yes, but how can I just lock the row from column a to Cd if cell.value is yes. I also then want to say if cell.value="No" , unlock the row and if it's "" do nothing to the row. Private Sub...
  2. B

    Lock Cell range(Defined Names) but allow editing of cell content?

    Hey gang, I have developed an excel template that my company can use to calculate and format their KPI stats. My company desired that the presentation include a header and footer that were Word specific and outputting to PDF. So originally this process involved copying the cells from the Excel...
  3. E

    Need help to lock/unlock multiple sections of a worksheet as when clicked by user

    Hi guys, I am an excel savvy person, but not too expert like VBA or macro programmers. As such, I need some help on figuring out how to lock certain portions of my worksheet upon a click of a button. Imagine a 30-day calendar spread page. I need to have 30 buttons which will enable the user...
  4. O

    Locked cells are still editable even though not in "Allow user to edit ranges"-range.

    Hi, I have a very weird issue that I have never encountered before. I am trying to protect my worksheet by only allowing certain ranges to be editable. When I protect the sheet it indeed locks (almost) everything but there are a few ranges that are still accessible, which would be catastrophic...
  5. K

    VBA to Protect ALL sheets with given name but allow editing of unlocked cells.

    Hi Im new to this forum so hope this is the type of question. I have monthly workbooks which i use to verify data from a number of sources, most i have macros to import from supplier spreadsheets. My problem is one field has to be manually added by someone in another department. They need to...
  6. N

    How to Lock Row or Range of Cells After Data Entry of Specific Range of Cells - Excel 2010

    Hello Forum, I've searched quite a bit on this topic but haven't found anything helpful to my needs so far. I'll organize this thread in headers to help you find things more easily. What I Want to Do is This: Once data is entered in both K and L columns, I want to lock the row which the data...
  7. R

    Locking and Unlocking Cells

    First of all, I am very very geek for VB codes, so please excuse my poor coding attempts:( let me explain what I want to achieve. I have cell A1, which has two text values, "yes" or "no".(by data validation) Now if value "no" is selected, then I want cells A2:A6 locked and content cleared...
  8. U

    Unlock Cells Based On Interior Color

    Hi There, I have an excel sheet that currently locks all cells except for the ones that allow user entered/selected data (drop down list). I have it set up that if previous cell is blank interior color of that cell is black, if previous cell is not blank then interior color is white. What I am...
  9. S

    Need To Lock Cell Range Based On Cell Value

    Hi, I am hoping someone can help me otherwise I may cry, I have a spreadsheet that has number between 1-20 entered in every cell in column B all the way down to row 15,000 I need to program something in VBA that will look at each number and then lock a certain range in that row based on that...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top