JeannetteE
Board Regular
- Joined
- May 19, 2016
- Messages
- 53
Hi,
The following code does exactly what I need it to do when the relevant Cells change, however I need it to represent a Table. Table Name and Table Headers are commented in the Code. Any help greatly appreciated.
The following code does exactly what I need it to do when the relevant Cells change, however I need it to represent a Table. Table Name and Table Headers are commented in the Code. Any help greatly appreciated.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
' Table Name = tblSMSubCategories
' Column G Table Header = Sub-Category
' Column I Table Header = Incident Type
' Column M Table Header = Specifics Type
' Column P Table Header = Ticket Creation Action to Run
If Target.Address = "G10" Then
If Range("I10").Value = "Service Request" And Range("M10").Value = "" Then
Range("M10").Value = "Select from List"
Else
If Range("I10").Value = "Incident" Then
Range("M10").Value = ""
End If
End If
End If
If Target.Address = "M10" Then
If Range("M10").Value = "Specifics - Product Catalogue" And Range("P10").Value = "" Then
Range("P10").Value = "Select from List"
Else
Range("P10").Value = ""
End If
End If
End Sub
Last edited: