The first video of 2021 added to my YouTube Channel!

It's been a while, but I'm back, and I have just added another great new video to my YouTube channel!

If you like this video, please hit the subscribe button!


This is a lecture I recorded in response to a student question in the VBA part of the course (Excel Essentials Level 3 - VBA Programming), which will teach you everything you will ever need to know about coding in VBA.


All the code is there on the screen for anyone to use, free, gratis, and for no charge :) Though I hope it will guide some of you to get the course...you should, it's really useful.


A great question from a Level 3 student, Anat.


This lecture is about how to protect specific cells (lock them) so users can only access the cells you want them to have access to. Ideal if you have a list of some kind, where you only want the user to be able to add new entries, but not change any of the existing data.


What we do on a WorkbookOpen event, is lock everything except the first blank row, and also lock any cells in that row where we have formulas (so users can't break them!).


Next, we will add some automatic data validation. This will ensure that your users only input the kind of data that is expected in each column...so a date cell can only hold a date, for example. If it turns out that the user has entered something incorrect, the validation routine will colour any errors in in red, so they are obvious to the user and they can correct them.


Nice and simple, and very useful!


Enjoy!


Be sure to check out the other videos on the channel...there are quite a few!


Videos in the Level 1 series:


https://youtu.be/uNFJNJk_kyo

https://youtu.be/g4ExVFkrj7I

https://youtu.be/Sd7w4YrVKmQ

https://youtu.be/XPfZA-KrOrM

https://youtu.be/CGNP1jKAhGA

https://youtu.be/6At4-dfrWSM

https://youtu.be/6QSm0iNA-gc

https://youtu.be/NWRFK2SOTtA

https://youtu.be/CYCFs4dQnm8


Videos in the Level 2 series:


https://youtu.be/4B4VFgHfcCI

https://youtu.be/B6G5Vu97GIw

https://youtu.be/-YL6h4ZaPec

https://youtu.be/fSwl1kEwMdg

https://youtu.be/ij0_SkPhB_M

https://youtu.be/MHbOHpBxTa0

https://youtu.be/bDPJP2t28_A

https://youtu.be/Y5E2FZ8KHgM

https://youtu.be/LSGUDpBPWb8

https://youtu.be/DhwXh6IplPk

https://youtu.be/B5k1lbIC5lQ

https://youtu.be/DZq9TxIaecI

https://youtu.be/41Ke-oEEGUk

https://youtu.be/xn0VSwQ0Vpc

https://youtu.be/haZpJhLJbdA


Videos in the Level 3 series:


https://youtu.be/IzbCv0yWAUI

https://youtu.be/zw9ydY-GVXo

https://youtu.be/DZc0ekkOFTg

https://youtu.be/L0V1WkC7bzQ

https://youtu.be/2vUSnj9ULYk

https://youtu.be/itTaurKxZp0

https://youtu.be/w4d_SUMqNxM

https://youtu.be/9OOJu4pxOGc

https://youtu.be/rkf7Wc-CQIY

https://youtu.be/2QXcBWYlL_I

https://youtu.be/rHqnzyw-asw

https://youtu.be/QeUgI_d-ljU

https://youtu.be/DjlzkGmDOok

https://youtu.be/JM7NFLDGaJE

https://youtu.be/kNkL21Iw9bk

https://youtu.be/Y6s3MEV1CIk

https://youtu.be/tGBsYjwbldQ

https://youtu.be/398-GMY0z78

https://youtu.be/k-r2N-Bz1Os

https://youtu.be/EELAr2myuog

https://youtu.be/qAbiXRHFkoI

https://youtu.be/BJiI0CrqG1E

https://youtu.be/IIf4vZgHvGE

https://youtu.be/9Vl8NxWmy00

https://youtu.be/ZFqqX4Q7rA0

https://youtu.be/yhTrqnKh9uU


28 views0 comments

Recent Posts

See All