ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditionally lock cells? (https://www.excelbanter.com/excel-discussion-misc-queries/78943-conditionally-lock-cells.html)

GoBobbyGo

conditionally lock cells?
 
Is there a way to conditionally lock cells?
For example, can I prevent someone from filling in B3, C3, etc unless they
put a valid employee name in A3?

murob2

conditionally lock cells?
 
Absolutely - You are going to use Visual Basic for Applications. This comes
with Microsoft Office, but is not necessarily installed, so keep in mind you
might need the installation disk to install VBA or programming support for
excel. Let me get back to you within a half hour or so, and I'll have the
code written for you and I'll walk you through using VBA in Excel to get it
working for you. In the mean time, let me know if you have any other
questions.



~Rob







"GoBobbyGo" wrote in message
...
Is there a way to conditionally lock cells?
For example, can I prevent someone from filling in B3, C3, etc unless they
put a valid employee name in A3?




All times are GMT +1. The time now is 11:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com