Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all
a code i use to alter the colour of a cell when double clicked, will not run when i protect the sheet? Can someone shed some light on what im sure is a simple fix i have missed completely? Cheers!!!! Private Sub Worksheet_BeforeDoubleClick (ByVal Target As Range, Cancel As Boolean Cancel = Tru If Not Intersect(Target, Range("D1:D128")) Is Nothing The With Target.Interio If .ColorIndex = 3 The .ColorIndex = xlColorIndexNon Els .ColorIndex = End I End Wit End I End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
protection error | Excel Worksheet Functions | |||
Error when save as CSV with VBA password protection on | Excel Discussion (Misc queries) | |||
VBA code error with Protection turned on - help please | Excel Discussion (Misc queries) | |||
Protection error | Excel Discussion (Misc queries) | |||
Sub Error with Sheet Protection Enabled? | Excel Programming |