row protection based on specific cell

Monteiro

New Member
Joined
Aug 28, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Como protejo automaticamente uma linha com base em uma célula?
Exemplo: se você inserir um valor na célula E1, ele protegerá automaticamente as células à esquerda da linha, D1, C1, B1 e A1
E o mesmo se aplicaria às linhas seguintes, se você inserir um valor na célula E2 ele protegerá automaticamente as células à esquerda e assim por diante.

Por favor me ajude.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
i think u want to lock rows/cells, maybe i can help
 

Attachments

  • 1693282492209.png
    1693282492209.png
    47.1 KB · Views: 7
Upvote 0
i think u want to lock rows/cells, maybe i can help
unfortunately that's not it. in fact it would be something like blocking a line, for example: cells from A1 to D1 will be automatically protected if you insert any data in cell E1.... and so on for the bottom lines E2, E3, E4...
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: row protection based on specific cell
And here row protection based on specific cell - OzGrid Free Excel/VBA Help Forum
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Acho que você deseja bloquear linhas/células, talvez eu possa ajudar
Como proteger automaticamente uma linha com base em uma célula?
Exemplo: se você inserir um valor na célula E1, ele protegerá automaticamente as células à esquerda da linha, D1, C1, B1 e A1
E o mesmo se aplicaria às linhas a seguir, se você inserir um valor na célula E2 ele protegerá automaticamente as células à esquerda e assim por diante.

Por favor, me ajude.

Eu precisaria de algo assim, que ao inserir dados na célula L413 protegesse automaticamente as células à esquerda da linha, no caso células A413:K413 e assim sucessivamente para as demais linhas... se inserir dados em L414 protegerá automaticamente a linha de A414: K414 e assim por diante
 

Attachments

  • proteção.png
    proteção.png
    17.3 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,215,140
Messages
6,123,270
Members
449,093
Latest member
Vincent Khandagale

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