View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
pauluk[_6_] pauluk[_6_] is offline
external usenet poster
 
Posts: 1
Default worksheet_change problems

What i require is when a member of the team types cancelled into cell
ROW then the colums for that N:T for that row are filled with N/A
have tried the below code but with no joy


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "G:G" Then
Application.EnableEvents = False
If Target.Value = cancelled Then
Range("N:T").Value = NA
Else
Range("N:T").Value = False
End If
Application.EnableEvents = True
End If
End Su

--
Message posted from http://www.ExcelForum.com