Тёмный

Automatically LOCK CELLS AFTER DATA ENTRY - Excel VBA Macro 

Chester Tugwell
Подписаться 109 тыс.
Просмотров 81 тыс.
50% 1

Опубликовано:

 

23 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@AliMohamed-jg6bv
@AliMohamed-jg6bv Год назад
Thank you for your kind sharing. But I got problem on this method. Once you click on a cell within the range it will be locked even if you didn’t write anything. I need a code says: only activate cell lock when there’s entry otherwise keep it unlocked. Is that possible? Hope I make myself clear 😅.
@sujoysingha1025
@sujoysingha1025 3 года назад
Many Many thanks for this video.
@tomkochka2058
@tomkochka2058 2 года назад
This was exactly what I needed for a spreadsheet at work. Thank you!
@dineshanbu7870
@dineshanbu7870 Год назад
Hi, I need this option in excel online. Any solution for online Version ?
@jamesleleji6984
@jamesleleji6984 2 года назад
This is really helpful. But can this be replicated on Google sheets? Thanks
@dindabanda8820
@dindabanda8820 Год назад
This is a big help, Thank you
@serialcreative7130
@serialcreative7130 Год назад
This tutorial is very helpful, thank you so much, please how do I apply this to Excel sheet with many formula without me unlock the formula? I need your assistance.
@babu98478
@babu98478 2 года назад
Finally after a long search I reached at a correct destination. Great. Thank you
@panhasavarychiv
@panhasavarychiv 8 месяцев назад
could you give me your advice. thanks
@IvanCortinas_ES
@IvanCortinas_ES 4 года назад
A very interesting video Chuster. Thank you very much.
@BipinJoshi
@BipinJoshi Год назад
Thanks Chester. So helpful video, yet simple and easy to learn
@ChesterTugwell
@ChesterTugwell Год назад
Glad it was helpful!
@chelanat100
@chelanat100 3 года назад
I thought this may be a lengthy code. But really fantastic, nothing more to " thanks a lot" Expecting more tips. Good day
@lorellalatni4816
@lorellalatni4816 2 года назад
Exactly what I was looking for. Thank you!! ...Clear and concise
@abbaslokhandwala8445
@abbaslokhandwala8445 9 месяцев назад
Great work and easy understanding👍
@jsytac
@jsytac Год назад
Can this be done for only a specific range?
@jagankyt
@jagankyt 2 года назад
too good :) , thank you so much - this was very helpful
@Bike_and_Life
@Bike_and_Life 3 года назад
Hi Chester, i need to make multiple files with this macro and it should be automatically enabled when i copy pasten macro enabled sheet. pleas guide.
@leonardostreit3527
@leonardostreit3527 2 года назад
Great, is there a way to lock a line based on user that’s create it?
@silvestrecamposano6317
@silvestrecamposano6317 Год назад
Thank you very much!...
@GetFactual
@GetFactual 2 года назад
Is it possible to only apply this on one column?
@mohamedtalaat9745
@mohamedtalaat9745 Год назад
You are AMAZING and all of your tutorials are AMAZING, Learned alot from you. I have a question here, Doesn't that mean that any one can see that peace of VBA code and know what my password is !? I mean that I don't any one else can access this password. Thanks in advance.
@ChesterTugwell
@ChesterTugwell Год назад
You can password protect the VBA project!
@mohamedtalaat9745
@mohamedtalaat9745 Год назад
@@ChesterTugwell Thans alot for your reply 🥰
@mqondisitshabangu7307
@mqondisitshabangu7307 2 года назад
Thank you. This is exactly what I needed
@robotikempire
@robotikempire 3 месяца назад
I can still edit the cells after doing this. edit: I didn't have the tab password protected first. now it works! thanks!!
@prachikhare6332
@prachikhare6332 2 месяца назад
Thanks for this info...I am trying to add this code for multiple sheets in one excel file and its only working for single sheet and not multiple sheets...Can anyone help me on this
@arodneygy
@arodneygy Год назад
I have a question how to create a code using vba to use a click button to create a new row then relock work sheet, but leave the new row open. then target a cell range to lock after data is enter with a Msgbox asking the user is the information is correct before locking with a vbYes or No if user select yes then lock if user select no clear cell
@jonathanchimaras5428
@jonathanchimaras5428 3 года назад
You should specify that the code doesn't work on MERGED CELLS. When you do everything and try to click on a merged cell, an error appears.
@tarunlighthouse4920
@tarunlighthouse4920 2 года назад
can you do it for google sheet i want to protect cell after data entry.
@fernandosalas9252
@fernandosalas9252 3 года назад
gracias por el aporte amigo se te agradece un chingo tus conocimiento saludos. ❤
@jess4222
@jess4222 2 года назад
my hero!
@alanmorton3672
@alanmorton3672 2 года назад
This only works when data is entered in the desktop version of Excel; when the spreadsheet is opened in the browser in Office 365 then anyone can enter and edit blank cells, but not the cells filled in when opened on the desktop. Is there a solution to this? (Our users will open the sheet online).
@darth_lopez532
@darth_lopez532 9 месяцев назад
Did you ever find a work around?
@MohAboAbdo
@MohAboAbdo 4 года назад
Thanks.
@arkticj6726
@arkticj6726 4 года назад
Awesome Chester, I have done all that but when i move to the next column in that row it prompts me to input password again, hence i have to keep on unlocking every cell i input data, how do i solve this?
@arkticj6726
@arkticj6726 4 года назад
Thanks i figured it out had not unprotected the whole sheet
@ChesterTugwell
@ChesterTugwell 4 года назад
arkticJ my guess is you didn't unlock all the cells in the worksheet
@arkticj6726
@arkticj6726 4 года назад
@@ChesterTugwell yap.. True
@khanecherries9455
@khanecherries9455 Год назад
is this also applicable to google sheets?
@AbdulMohamed-of9cf
@AbdulMohamed-of9cf Год назад
Hi. What can be done if I want to share this file? It appears that the web version of excel do not support Macros
@garydbarnard9021
@garydbarnard9021 2 года назад
I have two cells to leave accessible so data can be put in but the worksheet stays protected there is also a chart that changes with the Data entered that well not work unless the worksheet is unprotected as well.
@peralm5961
@peralm5961 Год назад
Super! Thanks!! 😀
@Droopyballsdecoy
@Droopyballsdecoy 5 месяцев назад
Hi Chester. Video is great and sorted the problem. All locked with password.... But... My line "I" does not want to lock and still allows me to edit. Everything else is perfect. Any thoughts?
@souzamotasacul
@souzamotasacul Год назад
Thank you!!!
@MrBK212
@MrBK212 2 года назад
Love this - thanks!!!
@Pucuksenja
@Pucuksenja 3 года назад
Unfortunately the excel doesn't work after reopened. How to overcome this?
@wsuchemist
@wsuchemist 2 месяца назад
Amazing thank you!
@extraclassic
@extraclassic 3 года назад
If you double click an empty cell and not entry any data, the cell will be protected. To prevent protecting empty cell: If Target.Value "" Then Target.Locked = True.
@jonathanchimaras5428
@jonathanchimaras5428 3 года назад
Sorry, I didn't get what you meant. I keep getting a run-time error
@nicolexu6385
@nicolexu6385 Год назад
@@jonathanchimaras5428 same here, did you find a solution for this?
@Rkadecha
@Rkadecha Год назад
Got it bro ..
@Harry013
@Harry013 Год назад
help me, i use your code but it's error
@arunarrow8713
@arunarrow8713 3 года назад
Please explain VBA code for Data validation , when user copy paste data on validation cells it should not work
@TheMsourav
@TheMsourav 3 года назад
I want a data which when I share with someone and the person enters any data in the cell, it gets locked automatically. Is it possible?
@budiyanto1659
@budiyanto1659 2 года назад
is there a way to lock after entry but i can still filter the data?
@samuelkorger3567
@samuelkorger3567 3 года назад
I don't suppose there is a way to restrict the function of this code to a specific area of a sheet rather than the entire sheet itself, right?
@extraclassic
@extraclassic 3 года назад
You could add condition which check if target,range is in specific range area. if InRange(target.range, anyOtherArea) than target.locket = true Function InRange(Range1 As Range, Range2 As Range) As Boolean ' returns True if Range1 is within Range2 InRange = Not (Application.Intersect(Range1, Range2) Is Nothing) End Function
@rajeshar1246
@rajeshar1246 3 года назад
Thank you Sir
@lizzkl89
@lizzkl89 3 года назад
i already input the password to lock it, it locked, but when i click unprotect, it didnt ask any password what to do? tq for helping
@deepakl184
@deepakl184 Год назад
With this, It can automatically lock the cell after entry but what should I do to make the empty cell unlock? I want to make cells lock if anything enters and if the cell is empty I want the Cell unlocked. Or I don't have to use a password to enter the empty calls individually. It would be appreciated if anyone can explain. Thank you
@normnorthmore8368
@normnorthmore8368 11 месяцев назад
This is close to what i need. We have a couple people that enter data in the spreadsheet. items they load on their truck. We print off the relavent information. When that data is entered in to our buisness program. I want to be able to delete the data that was entered in the spreadsheet, so they can use the same sheets the next day. However it still says the cell is blocked. so i can't enter new data.
@upinderchhabra3193
@upinderchhabra3193 3 месяца назад
how can we add a time period as well? Eg. lock cells after 10 mins of data entry
@toufiqqureshisap
@toufiqqureshisap Год назад
SUPERB
@pauliusciuladis8367
@pauliusciuladis8367 4 года назад
I got an error 1004 on last line: "Application-defined or object defined error"
@markcashmore1050
@markcashmore1050 Год назад
How did you fix this?
@ranaghayoorali7805
@ranaghayoorali7805 Год назад
How to allow filter with auto-locking.
@UR-Cristiano-x2n
@UR-Cristiano-x2n Год назад
I want only selected cell,how can do
@aleksanderrozov6818
@aleksanderrozov6818 11 месяцев назад
Brilliant
@Sachin-j9e
@Sachin-j9e 2 месяца назад
everthing ok how to save the file after saving the Excel and reopen it does not work any more
@amilarambukwella510
@amilarambukwella510 2 года назад
how to lock cell afteer save and not closed ??
@XAE_A_Xii
@XAE_A_Xii 3 года назад
I thought this video would show hiw to make excel lock itself once you close, because that's what I think many people forget to do.
@justlikeashoot2731
@justlikeashoot2731 Год назад
Lock cell after data entry how can done in Google sheet
@ofosugyabaah9581
@ofosugyabaah9581 Год назад
I want the cell to lock after 10mins
@tpsdas
@tpsdas 2 года назад
how to lock only designated cells only Example: want to lock non blank cells of column A:B with password 1 & lock non blank cells of column D:E with different password say 2
@HeWoreSkeletons
@HeWoreSkeletons Год назад
This is great, you should see some of the bullshit out there trying to do this - crazy.
@llunde22
@llunde22 Год назад
Thank you sir, well done.
Далее
He went ALL in 😭
00:12
Просмотров 1,3 млн
Why is it different from what I thought?
00:15
Просмотров 1,7 млн
Excel - Conditionally Lock Cells Based on Other Values
6:21
EASILY Make an Automated Data Entry Form in Excel
14:52
How to lock cells after entry is made in Excel
4:30
Просмотров 54 тыс.