Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to run the code below to prevent a range of cells from being selected
if the Range("Q7") = 1. I have all cells on the worksheet locked but the user must be able to click on the locked cells to trigger a userform so I have to check Select Locked Cells. So is there any way make the Range("B5:C5") unselectable? If Range("Q7") = 1 Then Range("B5:C5").Locked = True End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - prevent someone from clicking into certain cells | Excel Discussion (Misc queries) | |||
[Beginner's] Adding a letter to a cell by clicking the cell | Excel Programming | |||
clicking all the way to another cell | Excel Worksheet Functions | |||
How to prevent focus by clicking combo box ? | Excel Programming | |||
Prevent Excel closing all workbook instances when clicking on "X" | Excel Discussion (Misc queries) |