![]() |
#11
|
|||
|
|||
![]()
Sorry for the delay, been traveling for business...
Try... Code:
Private Sub Worksheet_Change(ByVal Target As Range) ActiveSheet.Unprotect Password:="aaa" Dim rng As Range Set rng = Target.Parent.Range("B16") If Target.Count > 1 Then Exit Sub If Intersect(Target, rng) Is Nothing Then Exit Sub With Range("B19:E19") Select Case Target.Value Case "No" .Value = 0 .Locked = True Case "Yes" .Value = "" .Locked = False End Select End With ActiveSheet.Protect Password:="aaa" End Sub |
Tags |
autopopulate |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
patidallas22 | Excel Programming | 9 | 04-21-2014 03:14 PM |
![]() |
heastlund | Excel | 3 | 11-21-2013 12:38 PM |
![]() |
Stevejd58 | Excel | 3 | 08-20-2013 04:23 PM |
![]() |
Stevejd58 | Excel | 14 | 05-13-2013 02:22 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |