Below is the changes I made to the Macro and it is working. Is there a more efficient way to do this.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("C86:K86")) Is Nothing Then
If InStr(1, Range("C86").Formula, "C84") > 0 Then
MsgBox "You cannot reference cell C84 from this cell. Please use the information in the General Ledger!"
Target.Clear
End If
If InStr(1, Range("H86").Formula, "H84") > 0 Then
MsgBox "You cannot reference cell H84 from this cell. Please use the information in the General Ledger!"
Target.Clear
End If
If InStr(1, Range("J86").Formula, "J84") > 0 Then
MsgBox "You cannot reference cell J84 from this cell. Please use the information in the General Ledger!"
Target.Clear
End If
If InStr(1, Range("K86").Formula, "K84") > 0 Then
MsgBox "You cannot reference cell K84 from this cell. Please use the information in the General Ledger!"
Target.Clear
End If
End If
End Sub
Thanks