K0st4din
Well-known Member
- Joined
- Feb 8, 2012
- Messages
- 501
- Office Version
- 2016
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
Hello, everyone,
I searched the internet for a solution to my case, but I can't get it to work.
I am looking for an option with which I suppose with a macro (maybe without a macro) a check is made to see if the numbers 1, 2 or 3 are contained in cells A36, 37, 38. If there are, then rows B36, 37, 38 should be locked.
The worksheet is locked, I am looking if it is possible to use Format cells -> Protection -> Locked .
Thank you in advance for your assistance!
I searched the internet for a solution to my case, but I can't get it to work.
I am looking for an option with which I suppose with a macro (maybe without a macro) a check is made to see if the numbers 1, 2 or 3 are contained in cells A36, 37, 38. If there are, then rows B36, 37, 38 should be locked.
The worksheet is locked, I am looking if it is possible to use Format cells -> Protection -> Locked .
Thank you in advance for your assistance!
АВАНСОВ ОТЧЕТ ИМЕ ФАМИЛИЯ МЕСЕЦ ГОДИНА(DOBAVQNE)-edited 01112023.xls | ||||
---|---|---|---|---|
A | B | |||
4 | 2023 | 11 | ||
5 | ||||
6 | day | form | ||
7 | mounths | legend | ||
8 | 1 | |||
9 | 2 | |||
10 | 3 | |||
11 | 4 | |||
12 | 5 | |||
13 | 6 | |||
14 | 7 | |||
15 | 8 | |||
16 | 9 | |||
17 | 10 | |||
18 | 11 | |||
19 | 12 | |||
20 | 13 | |||
21 | 14 | |||
22 | 15 | |||
23 | 16 | |||
24 | 17 | |||
25 | 18 | |||
26 | 19 | |||
27 | 20 | |||
28 | 21 | |||
29 | 22 | |||
30 | 23 | |||
31 | 24 | |||
32 | 25 | |||
33 | 26 | |||
34 | 27 | |||
35 | 28 | |||
36 | 29 | |||
37 | 30 | |||
38 | 1 | |||
ИМЕ СЛУЖИТЕЛ |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A8 | A8 | =DATE(godina,$B$4,1) |
A9 | A9 | =DATE(godina,$B$4,2) |
A10 | A10 | =DATE(godina,$B$4,3) |
A11 | A11 | =DATE(godina,$B$4,4) |
A12 | A12 | =DATE(godina,$B$4,5) |
A13 | A13 | =DATE(godina,$B$4,6) |
A14 | A14 | =DATE(godina,$B$4,7) |
A15 | A15 | =DATE(godina,$B$4,8) |
A16 | A16 | =DATE(godina,$B$4,9) |
A17 | A17 | =DATE(godina,$B$4,10) |
A18 | A18 | =DATE(godina,$B$4,11) |
A19 | A19 | =DATE(godina,$B$4,12) |
A20 | A20 | =DATE(godina,$B$4,13) |
A21 | A21 | =DATE(godina,$B$4,14) |
A22 | A22 | =DATE(godina,$B$4,15) |
A23 | A23 | =DATE(godina,$B$4,16) |
A24 | A24 | =DATE(godina,$B$4,17) |
A25 | A25 | =DATE(godina,$B$4,18) |
A26 | A26 | =DATE(godina,$B$4,19) |
A27 | A27 | =DATE(godina,$B$4,20) |
A28 | A28 | =DATE(godina,$B$4,21) |
A29 | A29 | =DATE(godina,$B$4,22) |
A30 | A30 | =DATE(godina,$B$4,23) |
A31 | A31 | =DATE(godina,$B$4,24) |
A32 | A32 | =DATE(godina,$B$4,25) |
A33 | A33 | =DATE(godina,$B$4,26) |
A34 | A34 | =DATE(godina,$B$4,27) |
A35 | A35 | =DATE(godina,$B$4,28) |
A36 | A36 | =DATE(godina,$B$4,29) |
A37 | A37 | =DATE(godina,$B$4,30) |
A38 | A38 | =DATE(godina,$B$4,31) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
godina | ='ИМЕ СЛУЖИТЕЛ'!$A$4 | A8:A38 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B8:B38 | List | =$B$40:$B$46 |
A4 | List | =$T$2:$T$32 |
B4 | List | =$U$2:$U$13 |