• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Particular Drop down then no bank cell in same row

Abhijeet

Active Member
Hi

I have data In Column G If select Qc related drop down then Column B that row cell if blank then i want pop up message the need to fill Auditing For column i tried the formula but i want to pop up message please tell me how to do this

=IFERROR(IF(SEARCH("QC",G9,1),IF(B9="","yes","no")),"")
 

Attachments

  • 1M&N.xls
    224.5 KB · Views: 0
I tried this code but not work please tell me how to do this
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    Dim A As Range, r As Range
    Set A = Range("f9:f20")
    If Intersect(Target, A) Is Nothing Then Exit Sub
    For Each r In Target
        If LCase(r.Value) = "yes" Then
            MsgBox "guest entered into cell " & r.Address
        End If
    Next r
End Sub
 
I tried this but copy paste from different workbook then not work & Ctrl + D then not work please tell me
Code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim a As Variant

If Target.Column = 7 Then

On Error Resume Next

a = Application.WorksheetFunction.Search("QC", Target.Value, 1)

If Err.Number = 0 And Range("B" & Target.Row).Value = "" Then
MsgBox "Please provide name in Column B & Row - " & Target.Row, vbExclamation

End If
On Error GoTo 0

End If


End Sub
 

Attachments

  • 1M&N.xls
    215 KB · Views: 0
Back
Top